From 90fcc3741d1e2b3f12df9bd7541f42ce223314a9 Mon Sep 17 00:00:00 2001 From: sebprt Date: Mon, 29 Apr 2024 16:03:40 +0200 Subject: [PATCH] Updated php endpoints --- jane/gyroscops.json | 2 +- ...thentication.php => JWTAuthentication.php} | 10 +- src/Client.php | 3355 +++++++++-------- ...ceptReferralRequestReferralRequestItem.php | 16 +- .../AddAfterPipelineStepPipelineItem.php | 32 +- .../AddAfterPipelineStepWorkflowJobItem.php | 100 + .../AddBeforePipelineStepPipelineItem.php | 32 +- .../AddBeforePipelineStepWorkflowJobItem.php | 100 + .../AddComposerAuthPipelinePipelineItem.php | 32 +- ...ddComposerAutoloadPipelinePipelineItem.php | 32 +- ...AddComposerPackagePipelinePipelineItem.php | 32 +- ...ComposerRepositoryPipelinePipelineItem.php | 32 +- .../AddPipelineStepProbePipelineItem.php | 32 +- ...iablesFromConfigurationEnvironmentItem.php | 34 +- ...ddVariablesFromConstantEnvironmentItem.php | 32 +- .../AddVariablesFromSecretEnvironmentItem.php | 34 +- ...izationGetSubresourceActionSubresource.php | 20 +- ...nsOwnerGetSubresourceActionSubresource.php | 20 +- ...rkspaceGetSubresourceActionSubresource.php | 20 +- ...esourceExecutionPipelineJobSubresource.php | 22 +- ...ubresourceExecutionPipelineSubresource.php | 22 +- ...esourceExecutionWorkflowJobSubresource.php | 14 +- ...esourceExecutionWorkflowJobSubresource.php | 14 +- ...esourceExecutionWorkflowJobSubresource.php | 22 +- ...ubresourceExecutionWorkflowSubresource.php | 14 +- ...ubresourceExecutionWorkflowSubresource.php | 22 +- ...ubresourceExecutionWorkflowSubresource.php | 14 +- ...tionGetSubresourceExecutionSubresource.php | 20 +- ...entGetSubresourceExecutionSubresource.php} | 24 +- ...lineGetSubresourceExecutionSubresource.php | 22 +- ...uleGetSubresourceExecutionSubresource.php} | 24 +- ...flowGetSubresourceExecutionSubresource.php | 22 +- ...sGetSubresourceOrganizationSubresource.php | 22 +- ...sGetSubresourceOrganizationSubresource.php | 28 +- ...sGetSubresourceOrganizationSubresource.php | 28 +- ...sGetSubresourceOrganizationSubresource.php | 28 +- ...sGetSubresourcePipelineStepSubresource.php | 22 +- ...tionsGetSubresourcePipelineSubresource.php | 22 +- ...ationGetSubresourcePipelineSubresource.php | 81 - ...dulesGetSubresourcePipelineSubresource.php | 28 +- ...StepsGetSubresourcePipelineSubresource.php | 22 +- ...tionsGetSubresourceScheduleSubresource.php | 28 +- ...ubresourceSubscriptionOfferSubresource.php | 18 +- ...rGetSubresourceSubscriptionSubresource.php | 14 +- ...sGetSubresourceSubscriptionSubresource.php | 18 +- ...nGetSubresourceSubscriptionSubresource.php | 20 +- ...bresourceUserAuthorizationSubresource.php} | 28 +- ...izationsGetSubresourceUserSubresource.php} | 32 +- ...izationsGetSubresourceUserSubresource.php} | 32 +- ...nizationGetSubresourceUserSubresource.php} | 28 +- ...orkspaceGetSubresourceUserSubresource.php} | 28 +- ...nizationGetSubresourceUserSubresource.php} | 28 +- ...rkspacesGetSubresourceUserSubresource.php} | 43 +- ...resourceWorkflowJobPipelineSubresource.php | 22 +- ...sJobsGetSubresourceWorkflowSubresource.php | 22 +- ...ionsGetSubresourceWorkspaceSubresource.php | 22 +- ...ionGetSubresourceWorkspaceSubresource.php} | 28 +- ...sersGetSubresourceWorkspaceSubresource.php | 28 +- .../AppendPipelineStepPipelineItem.php | 32 +- .../AppendPipelineStepWorkflowJobItem.php | 97 + src/Endpoint/ChangePasswordUserItem.php | 26 +- .../ChangeValuesConfigurationItem.php | 32 +- src/Endpoint/ChangeValuesSecretItem.php | 32 +- .../DeclareExecutionExecutionCollection.php | 18 +- .../DeclarePipelinePipelineCollection.php | 30 +- .../DeclareWorkflowWorkflowCollection.php | 18 +- src/Endpoint/DeleteConfigurationItem.php | 10 +- src/Endpoint/DeleteEnvironmentItem.php | 10 +- src/Endpoint/DeleteJobWorkflowJobItem.php | 60 + src/Endpoint/DeleteOrganizationItem.php | 10 +- src/Endpoint/DeletePipelinePipelineItem.php | 10 +- .../DeletePipelineStepPipelineItem.php | 10 +- .../DeletePipelineStepWorkflowJobItem.php | 63 + src/Endpoint/DeleteReferralCodeItem.php | 12 +- src/Endpoint/DeleteSecretItem.php | 10 +- src/Endpoint/DeleteSubscriptionItem.php | 10 +- src/Endpoint/DeleteSubscriptionOfferItem.php | 10 +- src/Endpoint/DeleteTemplateItem.php | 60 + src/Endpoint/DeleteUserAuthorizationItem.php | 12 +- src/Endpoint/DeleteUserItem.php | 10 +- .../DeleteVariableFromConfigurationItem.php | 10 +- .../DeleteVariableFromConstantItem.php | 12 +- src/Endpoint/DeleteVariableFromSecretItem.php | 12 +- src/Endpoint/DeleteWorkspaceItem.php | 10 +- src/Endpoint/EditConfigurationItem.php | 32 +- src/Endpoint/EditEnvironmentItem.php | 32 +- src/Endpoint/EditSecretItem.php | 34 +- .../EditVariableFromConfigurationItem.php | 34 +- src/Endpoint/EditVariableFromConstantItem.php | 36 +- src/Endpoint/EditVariableFromSecretItem.php | 36 +- src/Endpoint/GetActionCollection.php | 22 +- src/Endpoint/GetActionItem.php | 20 +- ...stanceByPimUrlAkeneoInstanceCollection.php | 20 +- src/Endpoint/GetAkeneoInstanceCollection.php | 18 +- src/Endpoint/GetAkeneoInstanceItem.php | 14 +- ...oInstanceOauthAkeneoInstanceCollection.php | 20 +- ...edAccountAkeneoLinkedAccountCollection.php | 24 +- .../GetAkeneoLinkedAccountCollection.php | 18 +- src/Endpoint/GetAkeneoLinkedAccountItem.php | 14 +- .../GetAkeneoOauthTokenCollection.php | 18 +- src/Endpoint/GetAkeneoOauthTokenItem.php | 14 +- src/Endpoint/GetCompilationCollection.php | 22 +- src/Endpoint/GetCompilationItem.php | 20 +- src/Endpoint/GetConfigurationCollection.php | 22 +- src/Endpoint/GetConfigurationItem.php | 20 +- src/Endpoint/GetEnvironmentCollection.php | 22 +- src/Endpoint/GetEnvironmentItem.php | 20 +- src/Endpoint/GetExecutionActionItem.php | 20 +- ...ecutionActionLogsExecutionWorkflowItem.php | 20 +- src/Endpoint/GetExecutionCollection.php | 28 +- src/Endpoint/GetExecutionItem.php | 20 +- .../GetExecutionLogsExecutionPipelineItem.php | 20 +- .../GetExecutionPipelineCollection.php | 22 +- src/Endpoint/GetExecutionPipelineItem.php | 20 +- .../GetExecutionPipelineJobCollection.php | 18 +- src/Endpoint/GetExecutionPipelineJobItem.php | 14 +- ...onPipelineRejectsExecutionWorkflowItem.php | 20 +- src/Endpoint/GetExecutionPipelineStepItem.php | 20 +- ...tExecutionRejectsExecutionPipelineItem.php | 20 +- .../GetExecutionWorkflowCollection.php | 22 +- src/Endpoint/GetExecutionWorkflowItem.php | 20 +- .../GetExecutionWorkflowJobActionItem.php | 14 +- .../GetExecutionWorkflowJobCollection.php | 22 +- src/Endpoint/GetExecutionWorkflowJobItem.php | 20 +- src/Endpoint/GetForgotPassword.php | 12 +- .../GetOnPremiseRequestCollection.php | 18 +- src/Endpoint/GetOnPremiseRequestItem.php | 14 +- src/Endpoint/GetOrganizationCollection.php | 22 +- src/Endpoint/GetOrganizationItem.php | 20 +- src/Endpoint/GetPipelineCollection.php | 26 +- src/Endpoint/GetPipelineItem.php | 20 +- src/Endpoint/GetPipelineStepCollection.php | 22 +- src/Endpoint/GetPipelineStepItem.php | 20 +- .../GetPipelineStepProbeCollection.php | 22 +- src/Endpoint/GetPipelineStepProbeItem.php | 20 +- .../GetPipelineStepWorkflowJobItem.php | 80 + src/Endpoint/GetReferralCodeCollection.php | 18 +- src/Endpoint/GetReferralCodeItem.php | 16 +- src/Endpoint/GetReferralRequestCollection.php | 18 +- src/Endpoint/GetReferralRequestItem.php | 16 +- src/Endpoint/GetScheduleCollection.php | 28 +- src/Endpoint/GetScheduleItem.php | 20 +- src/Endpoint/GetSecretCollection.php | 22 +- src/Endpoint/GetSecretItem.php | 20 +- src/Endpoint/GetSubscriptionCollection.php | 18 +- src/Endpoint/GetSubscriptionItem.php | 14 +- .../GetSubscriptionOfferCollection.php | 18 +- src/Endpoint/GetSubscriptionOfferItem.php | 14 +- src/Endpoint/GetTemplateCollection.php | 99 + ...ionSubresource.php => GetTemplateItem.php} | 32 +- .../GetUserAuthorizationCollection.php | 22 +- src/Endpoint/GetUserAuthorizationItem.php | 22 +- src/Endpoint/GetUserCollection.php | 28 +- src/Endpoint/GetUserItem.php | 20 +- .../GetVariableFromConfigurationItem.php | 20 +- src/Endpoint/GetVariableFromConstantItem.php | 22 +- src/Endpoint/GetVariableFromSecretItem.php | 22 +- src/Endpoint/GetWorkflowCollection.php | 28 +- src/Endpoint/GetWorkflowItem.php | 20 +- ...php => GetWorkflowJobActionCollection.php} | 37 +- src/Endpoint/GetWorkflowJobActionItem.php | 22 +- src/Endpoint/GetWorkflowJobItem.php | 20 +- .../GetWorkflowJobPipelineCollection.php | 22 +- src/Endpoint/GetWorkflowJobPipelineItem.php | 20 +- src/Endpoint/GetWorkspaceCollection.php | 28 +- src/Endpoint/GetWorkspaceItem.php | 20 +- ...nterruptExecutionExecutionWorkflowItem.php | 20 +- src/Endpoint/MeUserCollection.php | 39 +- .../MoveAfterPipelineStepPipelineItem.php | 32 +- .../MoveAfterPipelineStepWorkflowJobItem.php | 100 + .../MoveBeforePipelineStepPipelineItem.php | 32 +- .../MoveBeforePipelineStepWorkflowJobItem.php | 100 + src/Endpoint/PatchOrganizationItem.php | 24 +- src/Endpoint/PatchSubscriptionItem.php | 14 +- src/Endpoint/PatchSubscriptionOfferItem.php | 14 +- src/Endpoint/PatchUserAuthorizationItem.php | 26 +- src/Endpoint/PatchUserItem.php | 24 +- src/Endpoint/PatchWorkspaceItem.php | 24 +- .../PipelineCompilationPipelineItem.php | 26 +- .../PipelineScheduleImmediatePipelineItem.php | 32 +- .../PipelineScheduleOncePipelineItem.php | 32 +- src/Endpoint/PostAkeneoInstanceCollection.php | 14 +- .../PostAkeneoLinkedAccountCollection.php | 16 +- .../PostAkeneoOauthTokenCollection.php | 14 +- src/Endpoint/PostConfigurationCollection.php | 30 +- src/Endpoint/PostCredentialsItem.php | 12 +- src/Endpoint/PostEnvironmentCollection.php | 30 +- src/Endpoint/PostForgotPassword.php | 10 +- src/Endpoint/PostForgotPasswordToken.php | 10 +- .../PostOnPremiseRequestCollection.php | 14 +- src/Endpoint/PostOrganizationCollection.php | 30 +- src/Endpoint/PostReferralCodeCollection.php | 14 +- .../PostReferralRequestCollection.php | 14 +- src/Endpoint/PostSecretCollection.php | 30 +- src/Endpoint/PostSubscriptionCollection.php | 14 +- src/Endpoint/PostTemplateCollection.php | 90 + .../PostUserAuthorizationCollection.php | 30 +- src/Endpoint/PostUserCollection.php | 30 +- src/Endpoint/PostWorkspaceCollection.php | 30 +- ...eoOauthTokenAkeneoOauthTokenCollection.php | 18 +- src/Endpoint/PutAuthenticationToken.php | 12 +- ...tExternalCollaboratorsOrganizationItem.php | 34 +- src/Endpoint/PutOrganizationItem.php | 32 +- src/Endpoint/PutSubscriptionItem.php | 14 +- src/Endpoint/PutSubscriptionOfferItem.php | 14 +- src/Endpoint/PutTemplateItem.php | 97 + src/Endpoint/PutUserAuthorizationItem.php | 34 +- src/Endpoint/PutUserItem.php | 32 +- src/Endpoint/PutWorkspaceItem.php | 32 +- ...jectReferralRequestReferralRequestItem.php | 16 +- ...RemoveComposerAuthPipelinePipelineItem.php | 32 +- ...veComposerAutoloadPipelinePipelineItem.php | 32 +- ...oveComposerPackagePipelinePipelineItem.php | 32 +- ...ComposerRepositoryPipelinePipelineItem.php | 32 +- .../RemovePipelineStepProbePipelineItem.php | 10 +- .../RemoveValuesConfigurationItem.php | 32 +- src/Endpoint/RemoveValuesSecretItem.php | 32 +- .../ReorderPipelineStepsPipelineItem.php | 32 +- .../ReorderPipelineStepsWorkflowJobItem.php | 97 + .../ReplacePipelineStepPipelineItem.php | 34 +- .../ReplacePipelineStepWorkflowJobItem.php | 100 + .../ResumeExecutionExecutionWorkflowItem.php | 20 +- src/Endpoint/SoftDeleteWorkflowItem.php | 20 +- ...erminateExecutionExecutionWorkflowItem.php | 20 +- .../WorkflowCompilationWorkflowItem.php | 18 +- .../WorkflowScheduleCrontabWorkflowItem.php | 18 +- .../WorkflowScheduleImmediateWorkflowItem.php | 18 +- ...ReferralRequestItemBadRequestException.php | 8 +- ...stReferralRequestItemNotFoundException.php | 8 +- ...equestItemUnprocessableEntityException.php | 8 +- ...ineStepPipelineItemBadRequestException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepWorkflowJobItemBadRequestException.php | 24 + ...neStepWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + ...ineStepPipelineItemBadRequestException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepWorkflowJobItemBadRequestException.php | 24 + ...neStepWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + ...ipelinePipelineItemBadRequestException.php | 8 +- ...hPipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...dPipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...ePipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...yPipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...epProbePipelineItemBadRequestException.php | 8 +- ...StepProbePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...tionEnvironmentItemBadRequestException.php | 8 +- ...rationEnvironmentItemNotFoundException.php | 8 +- ...onmentItemUnprocessableEntityException.php | 8 +- ...tantEnvironmentItemBadRequestException.php | 8 +- ...nstantEnvironmentItemNotFoundException.php | 8 +- ...onmentItemUnprocessableEntityException.php | 8 +- ...cretEnvironmentItemBadRequestException.php | 8 +- ...SecretEnvironmentItemNotFoundException.php | 8 +- ...onmentItemUnprocessableEntityException.php | 8 +- src/Exception/ApiException.php | 6 - ...ineStepPipelineItemBadRequestException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepWorkflowJobItemBadRequestException.php | 24 + ...neStepWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + src/Exception/BadRequestException.php | 6 - ...ngePasswordUserItemBadRequestException.php | 8 +- ...hangePasswordUserItemNotFoundException.php | 8 +- ...rdUserItemUnprocessableEntityException.php | 8 +- ...esConfigurationItemBadRequestException.php | 8 +- ...luesConfigurationItemNotFoundException.php | 8 +- ...rationItemUnprocessableEntityException.php | 8 +- ...ngeValuesSecretItemBadRequestException.php | 8 +- ...hangeValuesSecretItemNotFoundException.php | 8 +- ...SecretItemUnprocessableEntityException.php | 8 +- src/Exception/ClientException.php | 6 - ...ExecutionCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...ePipelineCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...wWorkflowCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...leteConfigurationItemNotFoundException.php | 8 +- ...DeleteEnvironmentItemNotFoundException.php | 8 +- ...eteJobWorkflowJobItemNotFoundException.php | 24 + ...eleteOrganizationItemNotFoundException.php | 8 +- ...ePipelinePipelineItemNotFoundException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...neStepWorkflowJobItemNotFoundException.php | 24 + ...eleteReferralCodeItemNotFoundException.php | 8 +- .../DeleteSecretItemNotFoundException.php | 8 +- ...eleteSubscriptionItemNotFoundException.php | 8 +- ...SubscriptionOfferItemNotFoundException.php | 8 +- .../DeleteTemplateItemNotFoundException.php | 24 + ...UserAuthorizationItemNotFoundException.php | 8 +- .../DeleteUserItemNotFoundException.php | 8 +- ...FromConfigurationItemNotFoundException.php | 8 +- ...iableFromConstantItemNotFoundException.php | 8 +- ...ariableFromSecretItemNotFoundException.php | 8 +- .../DeleteWorkspaceItemNotFoundException.php | 8 +- ...itConfigurationItemBadRequestException.php | 8 +- ...EditConfigurationItemNotFoundException.php | 8 +- ...rationItemUnprocessableEntityException.php | 8 +- ...EditEnvironmentItemBadRequestException.php | 8 +- .../EditEnvironmentItemNotFoundException.php | 8 +- ...onmentItemUnprocessableEntityException.php | 8 +- .../EditSecretItemBadRequestException.php | 8 +- .../EditSecretItemNotFoundException.php | 8 +- ...SecretItemUnprocessableEntityException.php | 8 +- ...omConfigurationItemBadRequestException.php | 8 +- ...FromConfigurationItemNotFoundException.php | 8 +- ...rationItemUnprocessableEntityException.php | 8 +- ...bleFromConstantItemBadRequestException.php | 8 +- ...iableFromConstantItemNotFoundException.php | 8 +- ...nstantItemUnprocessableEntityException.php | 8 +- ...iableFromSecretItemBadRequestException.php | 8 +- ...ariableFromSecretItemNotFoundException.php | 8 +- ...SecretItemUnprocessableEntityException.php | 8 +- .../GetActionItemNotFoundException.php | 8 +- ...GetAkeneoInstanceItemNotFoundException.php | 8 +- ...eneoLinkedAccountItemNotFoundException.php | 8 +- ...tAkeneoOauthTokenItemNotFoundException.php | 8 +- .../GetCompilationItemNotFoundException.php | 8 +- .../GetConfigurationItemNotFoundException.php | 8 +- .../GetEnvironmentItemNotFoundException.php | 8 +- ...etExecutionActionItemNotFoundException.php | 8 +- ...ExecutionWorkflowItemNotFoundException.php | 8 +- .../GetExecutionItemNotFoundException.php | 8 +- ...ExecutionPipelineItemNotFoundException.php | 8 +- ...ExecutionPipelineItemNotFoundException.php | 8 +- ...cutionPipelineJobItemNotFoundException.php | 8 +- ...ExecutionWorkflowItemNotFoundException.php | 8 +- ...utionPipelineStepItemNotFoundException.php | 8 +- ...ExecutionPipelineItemNotFoundException.php | 8 +- ...ExecutionWorkflowItemNotFoundException.php | 8 +- ...WorkflowJobActionItemNotFoundException.php | 8 +- ...cutionWorkflowJobItemNotFoundException.php | 8 +- .../GetForgotPasswordNotFoundException.php | 8 +- ...tOnPremiseRequestItemNotFoundException.php | 8 +- .../GetOrganizationItemNotFoundException.php | 8 +- .../GetPipelineItemNotFoundException.php | 8 +- .../GetPipelineStepItemNotFoundException.php | 8 +- ...PipelineStepProbeItemNotFoundException.php | 8 +- ...neStepWorkflowJobItemNotFoundException.php | 24 + .../GetReferralCodeItemNotFoundException.php | 8 +- ...etReferralRequestItemNotFoundException.php | 8 +- .../GetScheduleItemNotFoundException.php | 8 +- .../GetSecretItemNotFoundException.php | 8 +- .../GetSubscriptionItemNotFoundException.php | 8 +- ...SubscriptionOfferItemNotFoundException.php | 8 +- .../GetTemplateItemNotFoundException.php | 24 + ...UserAuthorizationItemNotFoundException.php | 8 +- .../GetUserItemNotFoundException.php | 8 +- ...FromConfigurationItemNotFoundException.php | 8 +- ...iableFromConstantItemNotFoundException.php | 8 +- ...ariableFromSecretItemNotFoundException.php | 8 +- .../GetWorkflowItemNotFoundException.php | 8 +- ...WorkflowJobActionItemNotFoundException.php | 8 +- .../GetWorkflowJobItemNotFoundException.php | 8 +- ...rkflowJobPipelineItemNotFoundException.php | 8 +- .../GetWorkspaceItemNotFoundException.php | 8 +- ...ecutionWorkflowItemBadRequestException.php | 8 +- ...ExecutionWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- ...ineStepPipelineItemBadRequestException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepWorkflowJobItemBadRequestException.php | 24 + ...neStepWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + ...ineStepPipelineItemBadRequestException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepWorkflowJobItemBadRequestException.php | 24 + ...neStepWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + src/Exception/NotFoundException.php | 6 - ...tchOrganizationItemBadRequestException.php | 8 +- ...PatchOrganizationItemNotFoundException.php | 8 +- ...zationItemUnprocessableEntityException.php | 8 +- ...tchSubscriptionItemBadRequestException.php | 8 +- ...PatchSubscriptionItemNotFoundException.php | 8 +- ...iptionItemUnprocessableEntityException.php | 8 +- ...bscriptionOfferItemBadRequestException.php | 8 +- ...SubscriptionOfferItemNotFoundException.php | 8 +- ...nOfferItemUnprocessableEntityException.php | 8 +- ...erAuthorizationItemBadRequestException.php | 8 +- ...UserAuthorizationItemNotFoundException.php | 8 +- ...zationItemUnprocessableEntityException.php | 8 +- .../PatchUserItemBadRequestException.php | 8 +- .../PatchUserItemNotFoundException.php | 8 +- ...chUserItemUnprocessableEntityException.php | 8 +- .../PatchWorkspaceItemBadRequestException.php | 8 +- .../PatchWorkspaceItemNotFoundException.php | 8 +- ...kspaceItemUnprocessableEntityException.php | 8 +- ...ilationPipelineItemBadRequestException.php | 8 +- ...mpilationPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...mediatePipelineItemBadRequestException.php | 8 +- ...ImmediatePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...uleOncePipelineItemBadRequestException.php | 8 +- ...eduleOncePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...oInstanceCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...edAccountCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...authTokenCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...igurationCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...vironmentCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- .../PostForgotPasswordBadRequestException.php | 8 +- ...ForgotPasswordTokenBadRequestException.php | 8 +- ...stForgotPasswordTokenNotFoundException.php | 8 +- ...seRequestCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...anizationCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...erralCodeCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...alRequestCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...ostSecretCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...scriptionCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...tTemplateCollectionBadRequestException.php | 24 + ...CollectionUnprocessableEntityException.php | 24 + ...orizationCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- .../PostUserCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...WorkspaceCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...authTokenCollectionBadRequestException.php | 8 +- ...CollectionUnprocessableEntityException.php | 8 +- ...orsOrganizationItemBadRequestException.php | 8 +- ...atorsOrganizationItemNotFoundException.php | 8 +- ...zationItemUnprocessableEntityException.php | 8 +- ...PutOrganizationItemBadRequestException.php | 8 +- .../PutOrganizationItemNotFoundException.php | 8 +- ...zationItemUnprocessableEntityException.php | 8 +- ...PutSubscriptionItemBadRequestException.php | 8 +- .../PutSubscriptionItemNotFoundException.php | 8 +- ...iptionItemUnprocessableEntityException.php | 8 +- ...bscriptionOfferItemBadRequestException.php | 8 +- ...SubscriptionOfferItemNotFoundException.php | 8 +- ...nOfferItemUnprocessableEntityException.php | 8 +- .../PutTemplateItemBadRequestException.php | 24 + .../PutTemplateItemNotFoundException.php | 24 + ...mplateItemUnprocessableEntityException.php | 24 + ...erAuthorizationItemBadRequestException.php | 8 +- ...UserAuthorizationItemNotFoundException.php | 8 +- ...zationItemUnprocessableEntityException.php | 8 +- .../PutUserItemBadRequestException.php | 8 +- .../PutUserItemNotFoundException.php | 8 +- ...utUserItemUnprocessableEntityException.php | 8 +- .../PutWorkspaceItemBadRequestException.php | 8 +- .../PutWorkspaceItemNotFoundException.php | 8 +- ...kspaceItemUnprocessableEntityException.php | 8 +- ...ReferralRequestItemBadRequestException.php | 8 +- ...stReferralRequestItemNotFoundException.php | 8 +- ...equestItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...hPipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...dPipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...ePipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...ipelinePipelineItemBadRequestException.php | 8 +- ...yPipelinePipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepProbePipelineItemNotFoundException.php | 8 +- ...esConfigurationItemBadRequestException.php | 8 +- ...luesConfigurationItemNotFoundException.php | 8 +- ...rationItemUnprocessableEntityException.php | 8 +- ...oveValuesSecretItemBadRequestException.php | 8 +- ...emoveValuesSecretItemNotFoundException.php | 8 +- ...SecretItemUnprocessableEntityException.php | 8 +- ...neStepsPipelineItemBadRequestException.php | 8 +- ...lineStepsPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...tepsWorkflowJobItemBadRequestException.php | 24 + ...eStepsWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + ...ineStepPipelineItemBadRequestException.php | 8 +- ...elineStepPipelineItemNotFoundException.php | 8 +- ...pelineItemUnprocessableEntityException.php | 8 +- ...StepWorkflowJobItemBadRequestException.php | 24 + ...neStepWorkflowJobItemNotFoundException.php | 24 + ...lowJobItemUnprocessableEntityException.php | 24 + ...ecutionWorkflowItemBadRequestException.php | 8 +- ...ExecutionWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- src/Exception/ServerException.php | 6 - ...tDeleteWorkflowItemBadRequestException.php | 8 +- ...oftDeleteWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- ...ecutionWorkflowItemBadRequestException.php | 8 +- ...ExecutionWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- .../UnexpectedStatusCodeException.php | 13 + .../UnprocessableEntityException.php | 6 - ...ilationWorkflowItemBadRequestException.php | 8 +- ...mpilationWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- ...CrontabWorkflowItemBadRequestException.php | 8 +- ...leCrontabWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- ...mediateWorkflowItemBadRequestException.php | 8 +- ...ImmediateWorkflowItemNotFoundException.php | 8 +- ...rkflowItemUnprocessableEntityException.php | 8 +- src/Model/AbstractCloudEngine.php | 64 - src/Model/AbstractCloudEngineJsonld.php | 121 - src/Model/AbstractPipeline.php | 64 - ...epRead.php => AbstractPipelineJobRead.php} | 28 +- src/Model/AbstractPipelineJsonld.php | 121 - ...pelineJsonldExecutionPipelineStepRead.php} | 16 +- ....php => AbstractPipelineJsonldJobRead.php} | 34 +- ...php => AbstractPipelineJsonldStepRead.php} | 16 +- src/Model/Action.php | 8 +- .../{ActionRead.php => ActionActionRead.php} | 10 +- src/Model/ActionJsonld.php | 14 +- ...nldRead.php => ActionJsonldActionRead.php} | 16 +- src/Model/AkeneoInstance.php | 8 +- .../AkeneoInstanceAkeneoInstanceInput.php | 8 +- ...keneoInstanceAkeneoInstanceInputJsonld.php | 14 +- src/Model/AkeneoInstanceJsonld.php | 14 +- src/Model/AkeneoLinkedAccount.php | 8 +- ...LinkedAccountAkeneoLinkedAccountsInput.php | 8 +- ...AccountAkeneoLinkedAccountsInputJsonld.php | 14 +- src/Model/AkeneoLinkedAccountJsonld.php | 14 +- src/Model/AkeneoOauthTokenJsonldRead.php | 14 +- src/Model/AkeneoOauthTokenOauthStateInput.php | 8 +- .../AkeneoOauthTokenOauthStateInputJsonld.php | 14 +- ...eoOauthTokenOauthStateOutputJsonldRead.php | 14 +- src/Model/AkeneoOauthTokenOauthTokenInput.php | 8 +- .../AkeneoOauthTokenOauthTokenInputJsonld.php | 8 +- ...eoOauthTokenOauthTokenOutputJsonldRead.php | 8 +- src/Model/AkeneoOauthTokenRead.php | 8 +- .../AuthenticationMeGetLdjsonResponse200.php | 14 +- ...ationMeGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...icationMeGetLdjsonResponse200HydraView.php | 8 +- ...ionOffersIdOptionsGetLdjsonResponse200.php | 8 +- ...OptionsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...IdOptionsGetLdjsonResponse200HydraView.php | 8 +- ...ationOrganizationsGetLdjsonResponse200.php | 14 +- ...zationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...nizationsGetLdjsonResponse200HydraView.php | 8 +- ...nsIdAuthorizationsGetLdjsonResponse200.php | 14 +- ...zationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...rizationsGetLdjsonResponse200HydraView.php | 8 +- ...ernalCollaboratorsGetLdjsonResponse200.php | 14 +- ...oratorsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...aboratorsGetLdjsonResponse200HydraView.php | 8 +- ...ganizationsIdUsersGetLdjsonResponse200.php | 14 +- ...IdUsersGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...nsIdUsersGetLdjsonResponse200HydraView.php | 8 +- ...ationsIdWorkspacesGetLdjsonResponse200.php | 14 +- ...kspacesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...orkspacesGetLdjsonResponse200HydraView.php | 8 +- ...SubscriptionOffersGetLdjsonResponse200.php | 8 +- ...nOffersGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...ionOffersGetLdjsonResponse200HydraView.php | 8 +- ...ationSubscriptionsGetLdjsonResponse200.php | 8 +- ...iptionsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...criptionsGetLdjsonResponse200HydraView.php | 8 +- ...criptionsIdOptionsGetLdjsonResponse200.php | 8 +- ...OptionsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...IdOptionsGetLdjsonResponse200HydraView.php | 8 +- ...UserAuthorizationsGetLdjsonResponse200.php | 14 +- ...zationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...rizationsGetLdjsonResponse200HydraView.php | 8 +- ...uthenticationUsersGetLdjsonResponse200.php | 14 +- ...onUsersGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...tionUsersGetLdjsonResponse200HydraView.php | 8 +- ...ionalOrganizationsGetLdjsonResponse200.php | 92 + ...ationsGetLdjsonResponse200HydraSearch.php} | 16 +- ...esponse200HydraSearchHydraMappingItem.php} | 10 +- ...izationsGetLdjsonResponse200HydraView.php} | 10 +- ...sIdAuthorizationsGetLdjsonResponse200.php} | 28 +- ...ationsGetLdjsonResponse200HydraSearch.php} | 16 +- ...esponse200HydraSearchHydraMappingItem.php} | 10 +- ...izationsGetLdjsonResponse200HydraView.php} | 10 +- ...UsersIdWorkspacesGetLdjsonResponse200.php} | 28 +- ...spacesGetLdjsonResponse200HydraSearch.php} | 16 +- ...esponse200HydraSearchHydraMappingItem.php} | 10 +- ...rkspacesGetLdjsonResponse200HydraView.php} | 10 +- ...ticationWorkspacesGetLdjsonResponse200.php | 14 +- ...kspacesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...orkspacesGetLdjsonResponse200HydraView.php | 8 +- ...esIdAuthorizationsGetLdjsonResponse200.php | 14 +- ...zationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...rizationsGetLdjsonResponse200HydraView.php | 8 +- ...nWorkspacesIdUsersGetLdjsonResponse200.php | 14 +- ...IdUsersGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...esIdUsersGetLdjsonResponse200HydraView.php | 8 +- src/Model/BigDecimal.php | 16 +- src/Model/BigDecimalJsonld.php | 22 +- src/Model/BigInteger.php | 16 +- src/Model/BigIntegerJsonld.php | 22 +- src/Model/BigNumber.php | 8 +- src/Model/BigNumberJsonld.php | 14 +- src/Model/Buyable.php | 14 +- src/Model/BuyableJsonld.php | 20 +- src/Model/BuyablePrice.php | 86 + ...eJsonldRead.php => BuyablePriceJsonld.php} | 73 +- ...nldRead.php => BuyablePriceJsonldRead.php} | 31 +- src/Model/BuyablePriceRead.php | 41 + src/Model/ColorJsonldRead.php | 14 +- src/Model/CompilationCompilationRead.php | 103 + ...p => CompilationJsonldCompilationRead.php} | 102 +- src/Model/Composer.php | 8 +- src/Model/ComposerAuthentication.php | 8 +- src/Model/ComposerAuthenticationJsonld.php | 14 +- src/Model/ComposerAutoload.php | 8 +- src/Model/ComposerAutoloadJsonld.php | 14 +- src/Model/ComposerJsonld.php | 14 +- src/Model/ComposerRepository.php | 8 +- src/Model/ComposerRepositoryJsonld.php | 14 +- ...igurationChangeConfigurationValueInput.php | 70 - ...igurationValueInputConfigurationUpdate.php | 41 + ...ionChangeConfigurationValueInputJsonld.php | 121 - ...onValueInputJsonldConfigurationUpdate.php} | 22 +- ...p => ConfigurationConfigurationUpdate.php} | 10 +- ...php => ConfigurationConfigurationView.php} | 10 +- ...ConfigurationInputConfigurationCreate.php} | 10 +- ...urationInputJsonldConfigurationCreate.php} | 16 +- src/Model/ConfigurationEdit.php | 58 - ...onfigurationJsonldConfigurationUpdate.php} | 16 +- ... ConfigurationJsonldConfigurationView.php} | 16 +- src/Model/ConfigurationRead.php | 132 - ...gurationValueInputConfigurationUpdate.php} | 10 +- ...onValueInputJsonldConfigurationUpdate.php} | 16 +- src/Model/Context.php | 8 +- src/Model/ContextJsonld.php | 14 +- src/Model/CreateSecretInput.php | 8 +- src/Model/CreateSecretInputJsonld.php | 14 +- src/Model/Credentials.php | 8 +- src/Model/Currency.php | 8 +- src/Model/CurrencyJsonld.php | 14 +- ...omConfigurationInputEnvironmentUpdate.php} | 16 +- ...igurationInputJsonldEnvironmentUpdate.php} | 22 +- ...bleFromConstantInputEnvironmentUpdate.php} | 16 +- ...mConstantInputJsonldEnvironmentUpdate.php} | 22 +- ...iableFromSecretInputEnvironmentUpdate.php} | 16 +- ...romSecretInputJsonldEnvironmentUpdate.php} | 22 +- ...mentConfigurationsGetLdjsonResponse200.php | 14 +- ...rationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...gurationsGetLdjsonResponse200HydraView.php | 8 +- ...eateEnvironmentInputEnvironmentCreate.php} | 10 +- ...vironmentInputJsonldEnvironmentCreate.php} | 16 +- ...e.php => EnvironmentEnvironmentUpdate.php} | 10 +- src/Model/EnvironmentEnvironmentView.php | 92 + ...onmentEnvironmentsGetLdjsonResponse200.php | 14 +- ...onmentsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...ironmentsGetLdjsonResponse200HydraView.php | 8 +- ...=> EnvironmentJsonldEnvironmentUpdate.php} | 16 +- ...p => EnvironmentJsonldEnvironmentView.php} | 53 +- ...nmentJsonldVariableViewEnvironmentView.php | 143 + ...EnvironmentSecretsGetLdjsonResponse200.php | 14 +- ...SecretsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...ntSecretsGetLdjsonResponse200HydraView.php | 8 +- ...nvironmentVariableViewEnvironmentView.php} | 69 +- ...=> ExecutionActionExecutionActionRead.php} | 10 +- ...cutionActionJsonldExecutionActionRead.php} | 16 +- ...onDeclarePipelineExecutionCommandInput.php | 8 +- ...arePipelineExecutionCommandInputJsonld.php | 14 +- ...neExecutionCommandJsonldExecutionRead.php} | 16 +- ...larePipelineExecutionCommandJsonldRead.php | 81 - ...ionRead.php => ExecutionExecutionRead.php} | 146 +- src/Model/ExecutionId.php | 41 - src/Model/ExecutionIdJsonld.php | 98 - ...uptPipelineExecutionCommandInputJsonld.php | 14 +- ...neExecutionCommandJsonldExecutionRead.php} | 16 +- ...d.php => ExecutionJsonldExecutionRead.php} | 152 +- ...xecutionPipelineExecutionPipelineRead.php} | 10 +- src/Model/ExecutionPipelineJob.php | 8 +- src/Model/ExecutionPipelineJobJsonld.php | 14 +- ...onPipelineJsonldExecutionPipelineRead.php} | 16 +- ...PipelineStepExecutionPipelineStepRead.php} | 22 +- ...neStepJsonldExecutionPipelineStepRead.php} | 22 +- ...umePipelineExecutionCommandInputJsonld.php | 14 +- ...ineExecutionCommandJsonldExecutionRead.php | 69 + ...sumePipelineExecutionCommandJsonldRead.php | 81 - ...TerminatePipelineExecutionCommandInput.php | 8 +- ...atePipelineExecutionCommandInputJsonld.php | 14 +- ...ineExecutionCommandJsonldExecutionRead.php | 69 + ...natePipelineExecutionCommandJsonldRead.php | 81 - ...xecutionWorkflowExecutionWorkflowRead.php} | 10 +- ...kflowInterruptWorkflowExecutionCommand.php | 75 - ...uptWorkflowExecutionCommandInputJsonld.php | 14 +- ...nterruptWorkflowExecutionCommandJsonld.php | 132 - ...tionCommandJsonldExecutionWorkflowRead.php | 69 + src/Model/ExecutionWorkflowJobAction.php | 8 +- .../ExecutionWorkflowJobActionJsonld.php | 14 +- ...onWorkflowJobExecutionWorkflowJobRead.php} | 10 +- ...flowJobJsonldExecutionWorkflowJobRead.php} | 16 +- ...onWorkflowJsonldExecutionWorkflowRead.php} | 16 +- ...WorkflowResumeWorkflowExecutionCommand.php | 75 - ...umeWorkflowExecutionCommandInputJsonld.php | 14 +- ...owResumeWorkflowExecutionCommandJsonld.php | 132 - ...tionCommandJsonldExecutionWorkflowRead.php | 69 + ...kflowTerminateWorkflowExecutionCommand.php | 92 - ...TerminateWorkflowExecutionCommandInput.php | 8 +- ...ateWorkflowExecutionCommandInputJsonld.php | 14 +- ...erminateWorkflowExecutionCommandJsonld.php | 149 - ...tionCommandJsonldExecutionWorkflowRead.php | 69 + ...eoInstancesFromUrlGetLdjsonResponse200.php | 8 +- ...FromUrlGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...esFromUrlGetLdjsonResponse200HydraView.php | 8 +- ...wayAkeneoInstancesGetLdjsonResponse200.php | 8 +- ...stancesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...InstancesGetLdjsonResponse200HydraView.php | 8 +- ...nstancesOauthStateGetLdjsonResponse200.php | 8 +- ...thStateGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...authStateGetLdjsonResponse200HydraView.php | 8 +- ...oUserIdGetLdjsonResponse200HydraSearch.php | 98 - ...Response200HydraSearchHydraMappingItem.php | 92 - ...neoUserIdGetLdjsonResponse200HydraView.php | 126 - ...ountsAkeneoUserIdGetLdjsonResponse200.php} | 22 +- ...UserIdGetLdjsonResponse200HydraSearch.php} | 16 +- ...esponse200HydraSearchHydraMappingItem.php} | 10 +- ...eoUserIdGetLdjsonResponse200HydraView.php} | 10 +- ...eneoLinkedAccountsGetLdjsonResponse200.php | 8 +- ...ccountsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...dAccountsGetLdjsonResponse200HydraView.php | 8 +- ...yAkeneoOauthStatesGetLdjsonResponse200.php | 8 +- ...hStatesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...uthStatesGetLdjsonResponse200HydraView.php | 8 +- src/Model/GatewayAkeneoOauthTokenPutBody.php | 8 +- ...ewayAkeneoOauthTokenPutBodyHydraSearch.php | 8 +- ...okenPutBodyHydraSearchHydraMappingItem.php | 8 +- ...atewayAkeneoOauthTokenPutBodyHydraView.php | 8 +- ...ayAkeneoOauthTokenPutLdjsonResponse200.php | 8 +- ...thTokenPutLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...authTokenPutLdjsonResponse200HydraView.php | 8 +- src/Model/Job.php | 8 +- src/Model/JobJsonld.php | 14 +- src/Model/Money.php | 8 +- src/Model/MoneyJsonld.php | 14 +- ...emiseRequestJsonldOnPremiseRequestRead.php | 14 +- ...miseRequestJsonldOnPremiseRequestWrite.php | 14 +- .../OnPremiseRequestOnPremiseRequestRead.php | 8 +- .../OnPremiseRequestOnPremiseRequestWrite.php | 8 +- .../OpaqueInterfaceJsonldSecretUpdate.php | 69 + src/Model/Option.php | 14 +- src/Model/OptionJsonld.php | 14 +- src/Model/OrganizationAddCollaborators.php | 47 - .../OrganizationJsonldAddCollaborators.php | 37 +- ...=> OrganizationJsonldOrganizationRead.php} | 16 +- ...> OrganizationJsonldOrganizationWrite.php} | 31 +- ...n.php => OrganizationOrganizationRead.php} | 10 +- src/Model/OrganizationOrganizationWrite.php | 52 + src/Model/Pipeline.php | 8 +- ...ineStepCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...eAddAfterPipelineStepCommandJsonldRead.php | 81 - ...ineStepCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...AddBeforePipelineStepCommandJsonldRead.php | 81 - ...ineAddPipelineComposerAuthCommandInput.php | 58 - ...PipelineComposerAuthCommandInputJsonld.php | 115 - ...serAuthCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...dPipelineComposerAuthCommandJsonldRead.php | 81 - ...pelineComposerPSR4AutoloadCommandInput.php | 64 - ...ComposerPSR4AutoloadCommandInputJsonld.php | 121 - ...utoloadCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...eComposerPSR4AutoloadCommandJsonldRead.php | 81 - ...AddPipelineComposerPackageCommandInput.php | 58 - ...elineComposerPackageCommandInputJsonld.php | 115 - ...PackageCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...pelineComposerPackageCommandJsonldRead.php | 81 - ...PipelineComposerRepositoryCommandInput.php | 75 - ...ositoryCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...ineComposerRepositoryCommandJsonldRead.php | 81 - ...pelineAddPipelineStepProbeCommandInput.php | 41 - ...epProbeCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...eAddPipelineStepProbeCommandJsonldRead.php | 81 - ...neStepCommandInputJsonldPipelineWrite.php} | 16 +- ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...ineAppendPipelineStepCommandJsonldRead.php | 81 - ...elineCompilePipelineCommandInputJsonld.php | 81 - ...ipelineCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...pelineCompilePipelineCommandJsonldRead.php | 81 - ...ipelineCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...pelineDeclarePipelineCommandJsonldRead.php | 81 - ...ePipelineScheduleImmediateCommandInput.php | 41 - ...mediateCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...lineScheduleImmediateCommandJsonldRead.php | 81 - ...eclarePipelineScheduleOnceCommandInput.php | 58 - ...PipelineScheduleOnceCommandInputJsonld.php | 115 - ...uleOnceCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...ePipelineScheduleOnceCommandJsonldRead.php | 81 - src/Model/PipelineJsonld.php | 14 +- ...ldPipelineReadPipelineSubresourceRead.php} | 103 +- ...ineStepCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...MoveAfterPipelineStepCommandJsonldRead.php | 81 - ...ineStepCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...oveBeforePipelineStepCommandJsonldRead.php | 81 - ...nePipelineReadPipelineSubresourceRead.php} | 101 +- ...RemovePipelineComposerAuthCommandInput.php | 41 - ...PipelineComposerAuthCommandInputJsonld.php | 98 - ...serAuthCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...ePipelineComposerAuthCommandJsonldRead.php | 81 - ...pelineComposerPSR4AutoloadCommandInput.php | 41 - ...ComposerPSR4AutoloadCommandInputJsonld.php | 98 - ...utoloadCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...ovePipelineComposerPackageCommandInput.php | 41 - ...elineComposerPackageCommandInputJsonld.php | 98 - ...PackageCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...pelineComposerPackageCommandJsonldRead.php | 81 - ...PipelineComposerRepositoryCommandInput.php | 41 - ...ositoryCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...movePipelineStepProbeCommandJsonldRead.php | 81 - ...neStepsCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...eReorderPipelineStepsCommandJsonldRead.php | 81 - ...ineStepCommandInputJsonldPipelineWrite.php | 69 + ...nldPipelineReadPipelineSubresourceRead.php | 69 + ...neReplacePipelineStepCommandJsonldRead.php | 81 - src/Model/PipelineStepJobRead.php | 132 + ...onld.php => PipelineStepJsonldJobRead.php} | 73 +- src/Model/PipelineStepJsonldStepRead.php | 183 + ... PipelineStepProbeJsonldStepProbeRead.php} | 33 +- ...php => PipelineStepProbeStepProbeRead.php} | 27 +- ...elineStep.php => PipelineStepStepRead.php} | 39 +- src/Model/Price.php | 59 +- src/Model/PriceJsonld.php | 65 +- src/Model/PriceRead.php | 81 - src/Model/Probe.php | 8 +- src/Model/ProbeJsonld.php | 14 +- .../ReferralCodeJsonldReferralCodeRead.php | 14 +- .../ReferralCodeJsonldReferralCodeWrite.php | 14 +- src/Model/ReferralCodeReferralCodeRead.php | 8 +- src/Model/ReferralCodeReferralCodeWrite.php | 8 +- .../ReferralCodesGetLdjsonResponse200.php | 8 +- ...alCodesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...rralCodesGetLdjsonResponse200HydraView.php | 8 +- ...lOnPremiseRequestsGetLdjsonResponse200.php | 8 +- ...equestsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...eRequestsGetLdjsonResponse200HydraView.php | 8 +- ...ferralRequestJsonldReferralRequestRead.php | 14 +- .../ReferralRequestReferralRequestInput.php | 8 +- ...erralRequestReferralRequestInputJsonld.php | 14 +- .../ReferralRequestReferralRequestRead.php | 8 +- .../ReferralRequestsGetLdjsonResponse200.php | 8 +- ...equestsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...lRequestsGetLdjsonResponse200HydraView.php | 8 +- src/Model/Region.php | 132 - src/Model/RegionJsonld.php | 189 - .../RuntimeActionsGetLdjsonResponse200.php | 14 +- ...ActionsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...meActionsGetLdjsonResponse200HydraView.php | 8 +- ...untimeCompilationsGetLdjsonResponse200.php | 14 +- ...lationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...pilationsGetLdjsonResponse200HydraView.php | 8 +- ...cutionPipelineJobsGetLdjsonResponse200.php | 8 +- ...ineJobsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...elineJobsGetLdjsonResponse200HydraView.php | 8 +- ...ipelineJobsIdStepsGetLdjsonResponse200.php | 14 +- ...IdStepsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...bsIdStepsGetLdjsonResponse200HydraView.php | 8 +- .../RuntimeExecutionsGetLdjsonResponse200.php | 14 +- ...cutionsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...xecutionsGetLdjsonResponse200HydraView.php | 8 +- ...xecutionsPipelinesGetLdjsonResponse200.php | 14 +- ...pelinesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...PipelinesGetLdjsonResponse200HydraView.php | 8 +- ...nsPipelinesIdStepsGetLdjsonResponse200.php | 14 +- ...IdStepsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...esIdStepsGetLdjsonResponse200HydraView.php | 8 +- ...xecutionsWorkflowsGetLdjsonResponse200.php | 14 +- ...rkflowsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...WorkflowsGetLdjsonResponse200HydraView.php | 8 +- ...onsWorkflowsIdJobsGetLdjsonResponse200.php | 14 +- ...sIdJobsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...owsIdJobsGetLdjsonResponse200HydraView.php | 8 +- ...tionsWorkflowsJobsGetLdjsonResponse200.php | 14 +- ...owsJobsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...flowsJobsGetLdjsonResponse200HydraView.php | 8 +- ...bsIdPipelinesStepsGetLdjsonResponse200.php | 14 +- ...esStepsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...inesStepsGetLdjsonResponse200HydraView.php | 8 +- ...PipelineStepProbesGetLdjsonResponse200.php | 14 +- ...pProbesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...tepProbesGetLdjsonResponse200HydraView.php | 8 +- ...ntimePipelineStepsGetLdjsonResponse200.php | 14 +- ...neStepsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...lineStepsGetLdjsonResponse200HydraView.php | 8 +- .../RuntimePipelinesGetLdjsonResponse200.php | 14 +- ...pelinesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...PipelinesGetLdjsonResponse200HydraView.php | 8 +- ...inesIdCompilationsGetLdjsonResponse200.php | 14 +- ...lationsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...pilationsGetLdjsonResponse200HydraView.php | 8 +- ...pelinesIdSchedulesGetLdjsonResponse200.php | 14 +- ...hedulesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...SchedulesGetLdjsonResponse200HydraView.php | 8 +- ...mePipelinesIdStepsGetLdjsonResponse200.php | 14 +- ...IdStepsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...esIdStepsGetLdjsonResponse200HydraView.php | 8 +- ...linesStepsIdProbesGetLdjsonResponse200.php | 14 +- ...dProbesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...sIdProbesGetLdjsonResponse200HydraView.php | 8 +- .../RuntimeSchedulesGetLdjsonResponse200.php | 14 +- ...hedulesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...SchedulesGetLdjsonResponse200HydraView.php | 8 +- ...edulesIdExecutionsGetLdjsonResponse200.php | 14 +- ...cutionsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...xecutionsGetLdjsonResponse200HydraView.php | 8 +- ... RuntimeTemplatesGetLdjsonResponse200.php} | 28 +- ...mplatesGetLdjsonResponse200HydraSearch.php | 92 + ...Response200HydraSearchHydraMappingItem.php | 86 + ...TemplatesGetLdjsonResponse200HydraView.php | 120 + ...eWorkflowsActionsGetLdjsonResponse200.php} | 28 +- ...ActionsGetLdjsonResponse200HydraSearch.php | 92 + ...Response200HydraSearchHydraMappingItem.php | 86 + ...wsActionsGetLdjsonResponse200HydraView.php | 120 + .../RuntimeWorkflowsGetLdjsonResponse200.php | 14 +- ...rkflowsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...WorkflowsGetLdjsonResponse200HydraView.php | 8 +- ...imeWorkflowsIdJobsGetLdjsonResponse200.php | 14 +- ...sIdJobsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...owsIdJobsGetLdjsonResponse200HydraView.php | 8 +- ...WorkflowsPipelinesGetLdjsonResponse200.php | 14 +- ...pelinesGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...PipelinesGetLdjsonResponse200HydraView.php | 8 +- ...obPipelinesIdStepsGetLdjsonResponse200.php | 14 +- ...IdStepsGetLdjsonResponse200HydraSearch.php | 8 +- ...Response200HydraSearchHydraMappingItem.php | 8 +- ...esIdStepsGetLdjsonResponse200HydraView.php | 8 +- src/Model/ScheduleJsonld.php | 48 +- ...nld.php => ScheduleJsonldScheduleRead.php} | 176 +- src/Model/ScheduleScheduleRead.php | 234 ++ src/Model/ScheduleTypeJsonldScheduleRead.php | 69 + ...ngeSecretValueInputJsonldSecretUpdate.php} | 36 +- ...retChangeSecretValueInputSecretUpdate.php} | 10 +- ...etCreateSecretInputJsonldSecretCreate.php} | 16 +- ...> SecretCreateSecretInputSecretCreate.php} | 10 +- ...nJsonld.php => SecretJsonldSecretRead.php} | 16 +- src/Model/SecretJsonldSecretUpdate.php | 69 + src/Model/SecretRead.php | 132 - ...oveSecretValueInputJsonldSecretUpdate.php} | 16 +- ...retRemoveSecretValueInputSecretUpdate.php} | 10 +- ...Configuration.php => SecretSecretRead.php} | 10 +- src/Model/Step.php | 8 +- src/Model/StepJsonld.php | 14 +- src/Model/Subscription.php | 12 +- src/Model/SubscriptionJsonld.php | 18 +- src/Model/SubscriptionOfferJsonldRead.php | 20 +- src/Model/SubscriptionOfferJsonldWrite.php | 14 +- src/Model/SubscriptionOfferRead.php | 14 +- src/Model/SubscriptionOfferWrite.php | 8 +- src/Model/SubscriptionOption.php | 8 +- src/Model/SubscriptionOptionJsonld.php | 8 +- src/Model/SubscriptionType.php | 8 +- src/Model/SubscriptionTypeJsonld.php | 14 +- src/Model/SubscriptionTypeJsonldRead.php | 14 +- src/Model/Template.php | 155 + ...TemplateDeclareSatelliteTemplateInput.php} | 74 +- ...teDeclareSatelliteTemplateInputJsonld.php} | 80 +- ...ationJsonldRead.php => TemplateJsonld.php} | 95 +- ...d.php => TemplateJsonldTemplateCreate.php} | 134 +- src/Model/TemplateJsonldTemplateList.php | 189 + src/Model/TemplateJsonldTemplateUpdate.php | 69 + src/Model/TemplateJsonldTemplateView.php | 206 + src/Model/TemplateTemplateCreate.php | 138 + src/Model/TemplateTemplateList.php | 155 + src/Model/TemplateTemplateView.php | 155 + src/Model/Token.php | 8 +- ...=> UserAuthorizationAuthorizationRead.php} | 10 +- ...> UserAuthorizationAuthorizationWrite.php} | 78 +- ...rAuthorizationJsonldAuthorizationRead.php} | 16 +- ...AuthorizationJsonldAuthorizationWrite.php} | 83 +- src/Model/UserId.php | 41 - src/Model/UserIdJsonld.php | 98 - ...{UserJsonld.php => UserJsonldUserRead.php} | 210 +- src/Model/UserJsonldUserWrite.php | 194 + src/Model/UserUserChangePasswordInput.php | 75 - src/Model/{User.php => UserUserRead.php} | 204 +- src/Model/UserUserWrite.php | 143 + ...omConfigurationInputEnvironmentUpdate.php} | 10 +- ...igurationInputJsonldEnvironmentUpdate.php} | 16 +- ...FromConfigurationJsonldVariableUpdate.php} | 28 +- ...ationJsonldVariableViewEnvironmentView.php | 154 + .../VariableFromConfigurationJsonldWrite.php | 81 - ...riableFromConfigurationVariableUpdate.php} | 22 +- ...nfigurationVariableViewEnvironmentView.php | 103 + ...bleFromConstantInputEnvironmentUpdate.php} | 10 +- ...mConstantInputJsonldEnvironmentUpdate.php} | 16 +- ...iableFromConstantJsonldVariableUpdate.php} | 22 +- ...stantJsonldVariableViewEnvironmentView.php | 137 + ...=> VariableFromConstantVariableUpdate.php} | 16 +- ...omConstantVariableViewEnvironmentView.php} | 40 +- ...iableFromSecretInputEnvironmentUpdate.php} | 10 +- ...romSecretInputJsonldEnvironmentUpdate.php} | 16 +- ...ariableFromSecretJsonldVariableUpdate.php} | 31 +- ...cretJsonldVariableViewEnvironmentView.php} | 45 +- ...p => VariableFromSecretVariableUpdate.php} | 16 +- ...FromSecretVariableViewEnvironmentView.php} | 39 +- ...ableJsonldVariableViewEnvironmentView.php} | 54 +- .../VariableVariableViewEnvironmentView.php | 69 + ...kflowCompileWorkflowCommandInputJsonld.php | 14 +- ...rkflowCompileWorkflowCommandJsonldRead.php | 81 - ...mpileWorkflowCommandJsonldWorkflowRead.php | 69 + .../WorkflowDeclareWorkflowCommandInput.php | 8 +- ...kflowDeclareWorkflowCommandInputJsonld.php | 14 +- ...rkflowDeclareWorkflowCommandJsonldRead.php | 81 - ...clareWorkflowCommandJsonldWorkflowRead.php | 69 + ...areWorkflowScheduleCrontabCommandInput.php | 8 +- ...kflowScheduleCrontabCommandInputJsonld.php | 14 +- ...rkflowScheduleCrontabCommandJsonldRead.php | 81 - ...heduleCrontabCommandJsonldWorkflowRead.php | 69 + ...eWorkflowScheduleImmediateCommandInput.php | 8 +- ...lowScheduleImmediateCommandInputJsonld.php | 14 +- ...flowScheduleImmediateCommandJsonldRead.php | 81 - ...duleImmediateCommandJsonldWorkflowRead.php | 69 + ...on.php => WorkflowJobActionActionRead.php} | 10 +- ...nRead.php => WorkflowJobActionJobRead.php} | 27 +- ... => WorkflowJobActionJsonldActionRead.php} | 50 +- ...php => WorkflowJobActionJsonldJobRead.php} | 33 +- ...AfterWorkflowPipelineStepCommandInput.php} | 10 +- ...orkflowPipelineStepCommandInputJsonld.php} | 16 +- ...kflowPipelineStepCommandJsonldJobRead.php} | 16 +- ...eforeWorkflowPipelineStepCommandInput.php} | 10 +- ...orkflowPipelineStepCommandInputJsonld.php} | 16 +- ...rkflowPipelineStepCommandJsonldJobRead.php | 69 + ...ppendWorkflowPipelineStepCommandInput.php} | 10 +- ...orkflowPipelineStepCommandInputJsonld.php} | 16 +- ...rkflowPipelineStepCommandJsonldJobRead.php | 69 + src/Model/WorkflowJobJobRead.php | 103 + ...dRead.php => WorkflowJobJsonldJobRead.php} | 71 +- ...AfterWorkflowPipelineStepCommandInput.php} | 10 +- ...orkflowPipelineStepCommandInputJsonld.php} | 16 +- ...rkflowPipelineStepCommandJsonldJobRead.php | 69 + ...eforeWorkflowPipelineStepCommandInput.php} | 10 +- ...orkflowPipelineStepCommandInputJsonld.php} | 16 +- ...rkflowPipelineStepCommandJsonldJobRead.php | 69 + ...put.php => WorkflowJobPipelineJobRead.php} | 66 +- ...p => WorkflowJobPipelineJsonldJobRead.php} | 74 +- ...WorkflowJobPipelineJsonldPipelineRead.php} | 91 +- src/Model/WorkflowJobPipelinePipelineRead.php | 92 + src/Model/WorkflowJobRead.php | 92 - ...rderWorkflowPipelineStepsCommandInput.php} | 10 +- ...rkflowPipelineStepsCommandInputJsonld.php} | 16 +- ...kflowPipelineStepsCommandJsonldJobRead.php | 69 + ...placeWorkflowPipelineStepCommandInput.php} | 10 +- ...orkflowPipelineStepCommandInputJsonld.php} | 16 +- ...rkflowPipelineStepCommandJsonldJobRead.php | 69 + ...ead.php => WorkflowJsonldWorkflowRead.php} | 163 +- ...rkflowRemoveWorkflowCommandInputJsonld.php | 14 +- ...orkflowRemoveWorkflowCommandJsonldRead.php | 81 - ...emoveWorkflowCommandJsonldWorkflowRead.php | 69 + ...sonldRead.php => WorkflowWorkflowRead.php} | 147 +- ...d.php => WorkspaceJsonldWorkspaceRead.php} | 33 +- src/Model/WorkspaceJsonldWorkspaceWrite.php | 103 + ...rkspace.php => WorkspaceWorkspaceRead.php} | 27 +- src/Model/WorkspaceWorkspaceWrite.php | 52 + .../AbstractCloudEngineJsonldNormalizer.php | 119 - .../AbstractCloudEngineNormalizer.php | 101 - ... => AbstractPipelineJobReadNormalizer.php} | 43 +- ...ldExecutionPipelineStepReadNormalizer.php} | 29 +- ...stractPipelineJsonldJobReadNormalizer.php} | 55 +- ...tractPipelineJsonldStepReadNormalizer.php} | 29 +- ...zer.php => ActionActionReadNormalizer.php} | 35 +- ...p => ActionJsonldActionReadNormalizer.php} | 55 +- src/Normalizer/ActionJsonldNormalizer.php | 29 +- src/Normalizer/ActionNormalizer.php | 17 +- ...nceAkeneoInstanceInputJsonldNormalizer.php | 37 +- ...oInstanceAkeneoInstanceInputNormalizer.php | 25 +- .../AkeneoInstanceJsonldNormalizer.php | 53 +- src/Normalizer/AkeneoInstanceNormalizer.php | 41 +- ...neoLinkedAccountsInputJsonldNormalizer.php | 41 +- ...untAkeneoLinkedAccountsInputNormalizer.php | 29 +- .../AkeneoLinkedAccountJsonldNormalizer.php | 49 +- .../AkeneoLinkedAccountNormalizer.php | 37 +- .../AkeneoOauthTokenJsonldReadNormalizer.php | 41 +- ...thTokenOauthStateInputJsonldNormalizer.php | 33 +- ...neoOauthTokenOauthStateInputNormalizer.php | 21 +- ...enOauthStateOutputJsonldReadNormalizer.php | 25 +- ...thTokenOauthTokenInputJsonldNormalizer.php | 33 +- ...neoOauthTokenOauthTokenInputNormalizer.php | 25 +- ...enOauthTokenOutputJsonldReadNormalizer.php | 21 +- .../AkeneoOauthTokenReadNormalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...cationMeGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...dOptionsGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...izationsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...izationsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...boratorsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sIdUsersGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...rkspacesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...onOffersGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...riptionsGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...dOptionsGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...izationsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ionUsersGetLdjsonResponse200Normalizer.php | 31 +- ...HydraSearchHydraMappingItemNormalizer.php} | 33 +- ...djsonResponse200HydraSearchNormalizer.php} | 35 +- ...tLdjsonResponse200HydraViewNormalizer.php} | 41 +- ...zationsGetLdjsonResponse200Normalizer.php} | 39 +- ...HydraSearchHydraMappingItemNormalizer.php} | 33 +- ...djsonResponse200HydraSearchNormalizer.php} | 35 +- ...tLdjsonResponse200HydraViewNormalizer.php} | 41 +- ...zationsGetLdjsonResponse200Normalizer.php} | 39 +- ...HydraSearchHydraMappingItemNormalizer.php} | 33 +- ...djsonResponse200HydraSearchNormalizer.php} | 35 +- ...tLdjsonResponse200HydraViewNormalizer.php} | 41 +- ...rkspacesGetLdjsonResponse200Normalizer.php | 111 + ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...rkspacesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...izationsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sIdUsersGetLdjsonResponse200Normalizer.php | 31 +- src/Normalizer/BigDecimalJsonldNormalizer.php | 69 +- src/Normalizer/BigDecimalNormalizer.php | 57 +- src/Normalizer/BigIntegerJsonldNormalizer.php | 65 +- src/Normalizer/BigIntegerNormalizer.php | 53 +- src/Normalizer/BigNumberJsonldNormalizer.php | 49 +- src/Normalizer/BigNumberNormalizer.php | 37 +- src/Normalizer/BuyableJsonldNormalizer.php | 75 +- src/Normalizer/BuyableNormalizer.php | 63 +- ...r.php => BuyablePriceJsonldNormalizer.php} | 70 +- ...p => BuyablePriceJsonldReadNormalizer.php} | 42 +- src/Normalizer/BuyablePriceNormalizer.php | 105 + ...zer.php => BuyablePriceReadNormalizer.php} | 37 +- src/Normalizer/ColorJsonldReadNormalizer.php | 25 +- ... CompilationCompilationReadNormalizer.php} | 64 +- ...lationJsonldCompilationReadNormalizer.php} | 76 +- ...ComposerAuthenticationJsonldNormalizer.php | 37 +- .../ComposerAuthenticationNormalizer.php | 25 +- .../ComposerAutoloadJsonldNormalizer.php | 37 +- src/Normalizer/ComposerAutoloadNormalizer.php | 25 +- src/Normalizer/ComposerJsonldNormalizer.php | 41 +- src/Normalizer/ComposerNormalizer.php | 29 +- .../ComposerRepositoryJsonldNormalizer.php | 37 +- .../ComposerRepositoryNormalizer.php | 25 +- ...alueInputConfigurationUpdateNormalizer.php | 86 + ...utJsonldConfigurationUpdateNormalizer.php} | 42 +- ...hangeConfigurationValueInputNormalizer.php | 112 - ...gurationConfigurationUpdateNormalizer.php} | 25 +- ...figurationConfigurationViewNormalizer.php} | 45 +- ...ionInputConfigurationCreateNormalizer.php} | 29 +- ...utJsonldConfigurationCreateNormalizer.php} | 41 +- .../ConfigurationEditNormalizer.php | 96 - ...onJsonldConfigurationUpdateNormalizer.php} | 37 +- ...tionJsonldConfigurationViewNormalizer.php} | 57 +- .../ConfigurationJsonldEditNormalizer.php | 114 - .../ConfigurationJsonldReadNormalizer.php | 148 - .../ConfigurationReadNormalizer.php | 130 - ...lueInputConfigurationUpdateNormalizer.php} | 21 +- ...utJsonldConfigurationUpdateNormalizer.php} | 33 +- src/Normalizer/ContextJsonldNormalizer.php | 33 +- src/Normalizer/ContextNormalizer.php | 21 +- .../CreateSecretInputJsonldNormalizer.php | 37 +- .../CreateSecretInputNormalizer.php | 25 +- src/Normalizer/CredentialsNormalizer.php | 29 +- src/Normalizer/CurrencyJsonldNormalizer.php | 41 +- src/Normalizer/CurrencyNormalizer.php | 29 +- ...ationInputEnvironmentUpdateNormalizer.php} | 23 +- ...nputJsonldEnvironmentUpdateNormalizer.php} | 35 +- ...stantInputEnvironmentUpdateNormalizer.php} | 23 +- ...nputJsonldEnvironmentUpdateNormalizer.php} | 35 +- ...ecretInputEnvironmentUpdateNormalizer.php} | 23 +- ...nputJsonldEnvironmentUpdateNormalizer.php} | 35 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...urationsGetLdjsonResponse200Normalizer.php | 31 +- ...nmentInputEnvironmentCreateNormalizer.php} | 29 +- ...nputJsonldEnvironmentCreateNormalizer.php} | 41 +- ...nvironmentEnvironmentUpdateNormalizer.php} | 25 +- .../EnvironmentEnvironmentViewNormalizer.php | 110 + ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ronmentsGetLdjsonResponse200Normalizer.php | 31 +- ...mentJsonldEnvironmentUpdateNormalizer.php} | 37 +- ...ronmentJsonldEnvironmentViewNormalizer.php | 128 + ...dVariableViewEnvironmentViewNormalizer.php | 128 + ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...tSecretsGetLdjsonResponse200Normalizer.php | 31 +- ...tVariableViewEnvironmentViewNormalizer.php | 110 + ...onActionExecutionActionReadNormalizer.php} | 25 +- ...onJsonldExecutionActionReadNormalizer.php} | 37 +- ...eExecutionCommandInputJsonldNormalizer.php | 33 +- ...ipelineExecutionCommandInputNormalizer.php | 21 +- ...nCommandJsonldExecutionReadNormalizer.php} | 29 +- ...neExecutionCommandJsonldReadNormalizer.php | 96 - ...p => ExecutionExecutionReadNormalizer.php} | 129 +- .../ExecutionIdJsonldNormalizer.php | 102 - src/Normalizer/ExecutionIdNormalizer.php | 84 - ...eExecutionCommandInputJsonldNormalizer.php | 25 +- ...nCommandJsonldExecutionReadNormalizer.php} | 29 +- ...xecutionJsonldExecutionReadNormalizer.php} | 141 +- ...pelineExecutionPipelineReadNormalizer.php} | 29 +- .../ExecutionPipelineJobJsonldNormalizer.php | 37 +- .../ExecutionPipelineJobNormalizer.php | 25 +- ...JsonldExecutionPipelineReadNormalizer.php} | 41 +- ...epExecutionPipelineStepReadNormalizer.php} | 69 +- ...ldExecutionPipelineStepReadNormalizer.php} | 43 +- ...eExecutionCommandInputJsonldNormalizer.php | 25 +- ...nCommandJsonldExecutionReadNormalizer.php} | 29 +- ...eExecutionCommandInputJsonldNormalizer.php | 29 +- ...ipelineExecutionCommandInputNormalizer.php | 17 +- ...nCommandJsonldExecutionReadNormalizer.php} | 29 +- ...rkflowExecutionWorkflowReadNormalizer.php} | 29 +- ...wExecutionCommandInputJsonldNormalizer.php | 25 +- ...dJsonldExecutionWorkflowReadNormalizer.php | 87 + ...rkflowExecutionCommandJsonldNormalizer.php | 131 - ...ruptWorkflowExecutionCommandNormalizer.php | 113 - ...utionWorkflowJobActionJsonldNormalizer.php | 33 +- .../ExecutionWorkflowJobActionNormalizer.php | 21 +- ...JobExecutionWorkflowJobReadNormalizer.php} | 33 +- ...nldExecutionWorkflowJobReadNormalizer.php} | 45 +- ...JsonldExecutionWorkflowReadNormalizer.php} | 41 +- ...wExecutionCommandInputJsonldNormalizer.php | 25 +- ...JsonldExecutionWorkflowReadNormalizer.php} | 29 +- ...rkflowExecutionCommandJsonldNormalizer.php | 131 - ...sumeWorkflowExecutionCommandNormalizer.php | 113 - ...wExecutionCommandInputJsonldNormalizer.php | 29 +- ...orkflowExecutionCommandInputNormalizer.php | 17 +- ...dJsonldExecutionWorkflowReadNormalizer.php | 87 + ...rkflowExecutionCommandJsonldNormalizer.php | 140 - ...nateWorkflowExecutionCommandNormalizer.php | 122 - ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sFromUrlGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...nstancesGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...uthStateGetLdjsonResponse200Normalizer.php | 29 +- ...HydraSearchHydraMappingItemNormalizer.php} | 33 +- ...djsonResponse200HydraSearchNormalizer.php} | 35 +- ...tLdjsonResponse200HydraViewNormalizer.php} | 41 +- ...oUserIdGetLdjsonResponse200Normalizer.php} | 37 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...AccountsGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...thStatesGetLdjsonResponse200Normalizer.php | 29 +- ...yHydraSearchHydraMappingItemNormalizer.php | 29 +- ...OauthTokenPutBodyHydraSearchNormalizer.php | 29 +- ...eoOauthTokenPutBodyHydraViewNormalizer.php | 37 +- ...tewayAkeneoOauthTokenPutBodyNormalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...utLdjsonResponse200HydraViewNormalizer.php | 37 +- ...uthTokenPutLdjsonResponse200Normalizer.php | 29 +- src/Normalizer/JaneObjectNormalizer.php | 17 +- src/Normalizer/JobJsonldNormalizer.php | 49 +- src/Normalizer/JobNormalizer.php | 37 +- src/Normalizer/MoneyJsonldNormalizer.php | 73 +- src/Normalizer/MoneyNormalizer.php | 61 +- ...stJsonldOnPremiseRequestReadNormalizer.php | 49 +- ...tJsonldOnPremiseRequestWriteNormalizer.php | 41 +- ...eRequestOnPremiseRequestReadNormalizer.php | 37 +- ...RequestOnPremiseRequestWriteNormalizer.php | 29 +- ...InterfaceJsonldSecretUpdateNormalizer.php} | 29 +- src/Normalizer/OptionJsonldNormalizer.php | 75 +- src/Normalizer/OptionNormalizer.php | 67 +- ...OrganizationAddCollaboratorsNormalizer.php | 95 - ...zationJsonldAddCollaboratorsNormalizer.php | 50 +- ...ationJsonldOrganizationReadNormalizer.php} | 65 +- ...ationJsonldOrganizationWriteNormalizer.php | 103 + ...rganizationOrganizationReadNormalizer.php} | 53 +- ...rganizationOrganizationWriteNormalizer.php | 85 + ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...mposerAuthCommandInputJsonldNormalizer.php | 112 - ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...lineComposerAuthCommandInputNormalizer.php | 94 - ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...R4AutoloadCommandInputJsonldNormalizer.php | 118 - ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...oserPSR4AutoloadCommandInputNormalizer.php | 100 - ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...serPackageCommandInputJsonldNormalizer.php | 110 - ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...eComposerPackageCommandInputNormalizer.php | 92 - ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...RepositoryCommandInputJsonldNormalizer.php | 117 - ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...mposerRepositoryCommandInputNormalizer.php | 99 - ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...eStepProbeCommandInputJsonldNormalizer.php | 103 - ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...ipelineStepProbeCommandInputNormalizer.php | 85 - ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...rePipelineCommandInputJsonldNormalizer.php | 132 - ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...eDeclarePipelineCommandInputNormalizer.php | 114 - ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...eReadPipelineSubresourceReadNormalizer.php | 87 + src/Normalizer/PipelineJsonldNormalizer.php | 33 +- ...ReadPipelineSubresourceReadNormalizer.php} | 134 +- ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...eReadPipelineSubresourceReadNormalizer.php | 87 + src/Normalizer/PipelineNormalizer.php | 21 +- ...ReadPipelineSubresourceReadNormalizer.php} | 122 +- ...mposerAuthCommandInputJsonldNormalizer.php | 105 - ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...lineComposerAuthCommandInputNormalizer.php | 87 - ...ReadPipelineSubresourceReadNormalizer.php} | 29 +- ...R4AutoloadCommandInputJsonldNormalizer.php | 105 - ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...oserPSR4AutoloadCommandInputNormalizer.php | 87 - ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...serPackageCommandInputJsonldNormalizer.php | 105 - ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...eComposerPackageCommandInputNormalizer.php | 87 - ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...mandInputJsonldPipelineWriteNormalizer.php | 87 + ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...eReadPipelineSubresourceReadNormalizer.php | 87 + ...andInputJsonldPipelineWriteNormalizer.php} | 29 +- ...eReadPipelineSubresourceReadNormalizer.php | 87 + ....php => PipelineStepJobReadNormalizer.php} | 49 +- ...> PipelineStepJsonldJobReadNormalizer.php} | 69 +- .../PipelineStepJsonldStepReadNormalizer.php | 147 + ...tepProbeJsonldStepProbeReadNormalizer.php} | 52 +- ...elineStepProbeStepProbeReadNormalizer.php} | 40 +- .../PipelineStepStepReadNormalizer.php | 137 + src/Normalizer/PriceJsonldNormalizer.php | 64 +- src/Normalizer/PriceNormalizer.php | 52 +- src/Normalizer/ProbeJsonldNormalizer.php | 33 +- src/Normalizer/ProbeNormalizer.php | 21 +- ...alCodeJsonldReferralCodeReadNormalizer.php | 41 +- ...lCodeJsonldReferralCodeWriteNormalizer.php | 29 +- ...ReferralCodeReferralCodeReadNormalizer.php | 29 +- ...eferralCodeReferralCodeWriteNormalizer.php | 17 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ralCodesGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...RequestsGetLdjsonResponse200Normalizer.php | 29 +- ...estJsonldReferralRequestReadNormalizer.php | 65 +- ...stReferralRequestInputJsonldNormalizer.php | 49 +- ...lRequestReferralRequestInputNormalizer.php | 37 +- ...alRequestReferralRequestReadNormalizer.php | 53 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...RequestsGetLdjsonResponse200Normalizer.php | 29 +- src/Normalizer/RegionJsonldNormalizer.php | 149 - src/Normalizer/RegionNormalizer.php | 131 - ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...eActionsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ilationsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...lineJobsGetLdjsonResponse200Normalizer.php | 29 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sIdStepsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ecutionsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ipelinesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sIdStepsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...orkflowsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...wsIdJobsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...lowsJobsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...nesStepsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...epProbesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ineStepsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ipelinesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ilationsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...chedulesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sIdStepsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...IdProbesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...chedulesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ecutionsGetLdjsonResponse200Normalizer.php | 31 +- ...HydraSearchHydraMappingItemNormalizer.php} | 33 +- ...djsonResponse200HydraSearchNormalizer.php} | 35 +- ...tLdjsonResponse200HydraViewNormalizer.php} | 41 +- ...mplatesGetLdjsonResponse200Normalizer.php} | 39 +- ...0HydraSearchHydraMappingItemNormalizer.php | 105 + ...LdjsonResponse200HydraSearchNormalizer.php | 113 + ...etLdjsonResponse200HydraViewNormalizer.php | 123 + ...ActionsGetLdjsonResponse200Normalizer.php} | 39 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...orkflowsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...wsIdJobsGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...ipelinesGetLdjsonResponse200Normalizer.php | 31 +- ...0HydraSearchHydraMappingItemNormalizer.php | 29 +- ...LdjsonResponse200HydraSearchNormalizer.php | 29 +- ...etLdjsonResponse200HydraViewNormalizer.php | 37 +- ...sIdStepsGetLdjsonResponse200Normalizer.php | 31 +- src/Normalizer/ScheduleJsonldNormalizer.php | 33 +- .../ScheduleJsonldScheduleReadNormalizer.php | 201 + .../ScheduleScheduleReadNormalizer.php | 191 + ...eduleTypeJsonldScheduleReadNormalizer.php} | 29 +- ...alueInputJsonldSecretUpdateNormalizer.php} | 35 +- ...ecretValueInputSecretUpdateNormalizer.php} | 21 +- ...cretInputJsonldSecretCreateNormalizer.php} | 41 +- ...eateSecretInputSecretCreateNormalizer.php} | 29 +- src/Normalizer/SecretJsonldReadNormalizer.php | 148 - ...p => SecretJsonldSecretReadNormalizer.php} | 57 +- .../SecretJsonldSecretUpdateNormalizer.php | 87 + src/Normalizer/SecretReadNormalizer.php | 130 - ...alueInputJsonldSecretUpdateNormalizer.php} | 33 +- ...ecretValueInputSecretUpdateNormalizer.php} | 21 +- ...zer.php => SecretSecretReadNormalizer.php} | 45 +- src/Normalizer/StepJsonldNormalizer.php | 41 +- src/Normalizer/StepNormalizer.php | 29 +- .../SubscriptionJsonldNormalizer.php | 75 +- src/Normalizer/SubscriptionNormalizer.php | 63 +- .../SubscriptionOfferJsonldReadNormalizer.php | 79 +- ...SubscriptionOfferJsonldWriteNormalizer.php | 41 +- .../SubscriptionOfferReadNormalizer.php | 67 +- .../SubscriptionOfferWriteNormalizer.php | 29 +- .../SubscriptionOptionJsonldNormalizer.php | 41 +- .../SubscriptionOptionNormalizer.php | 33 +- .../SubscriptionTypeJsonldNormalizer.php | 33 +- .../SubscriptionTypeJsonldReadNormalizer.php | 25 +- src/Normalizer/SubscriptionTypeNormalizer.php | 21 +- ...SatelliteTemplateInputJsonldNormalizer.php | 148 + ...clareSatelliteTemplateInputNormalizer.php} | 92 +- src/Normalizer/TemplateJsonldNormalizer.php | 166 + ...TemplateJsonldTemplateCreateNormalizer.php | 159 + .../TemplateJsonldTemplateListNormalizer.php | 160 + ...TemplateJsonldTemplateUpdateNormalizer.php | 87 + .../TemplateJsonldTemplateViewNormalizer.php | 166 + src/Normalizer/TemplateNormalizer.php | 148 + .../TemplateTemplateCreateNormalizer.php | 141 + .../TemplateTemplateListNormalizer.php | 148 + .../TemplateTemplateViewNormalizer.php | 148 + src/Normalizer/TokenNormalizer.php | 17 +- ...horizationAuthorizationReadNormalizer.php} | 41 +- ...orizationAuthorizationWriteNormalizer.php} | 90 +- ...tionJsonldAuthorizationReadNormalizer.php} | 53 +- ...ionJsonldAuthorizationWriteNormalizer.php} | 106 +- src/Normalizer/UserIdNormalizer.php | 84 - src/Normalizer/UserJsonldNormalizer.php | 325 -- .../UserJsonldUserReadNormalizer.php | 217 ++ .../UserJsonldUserWriteNormalizer.php | 160 + src/Normalizer/UserNormalizer.php | 307 -- .../UserUserChangePasswordInputNormalizer.php | 105 - src/Normalizer/UserUserReadNormalizer.php | 199 + src/Normalizer/UserUserWriteNormalizer.php | 142 + ...ationInputEnvironmentUpdateNormalizer.php} | 25 +- ...nputJsonldEnvironmentUpdateNormalizer.php} | 37 +- ...gurationJsonldVariableUpdateNormalizer.php | 123 + ...VariableViewEnvironmentViewNormalizer.php} | 87 +- ...FromConfigurationJsonldWriteNormalizer.php | 96 - ...mConfigurationVariableUpdateNormalizer.php | 105 + ...VariableViewEnvironmentViewNormalizer.php} | 75 +- ...stantInputEnvironmentUpdateNormalizer.php} | 25 +- ...nputJsonldEnvironmentUpdateNormalizer.php} | 37 +- ...onstantJsonldVariableUpdateNormalizer.php} | 56 +- ...VariableViewEnvironmentViewNormalizer.php} | 53 +- ...eFromConstantVariableUpdateNormalizer.php} | 44 +- ...VariableViewEnvironmentViewNormalizer.php} | 41 +- ...ecretInputEnvironmentUpdateNormalizer.php} | 25 +- ...nputJsonldEnvironmentUpdateNormalizer.php} | 37 +- ...mSecretJsonldVariableUpdateNormalizer.php} | 42 +- ...VariableViewEnvironmentViewNormalizer.php} | 87 +- .../VariableFromSecretReadNormalizer.php | 130 - ...bleFromSecretVariableUpdateNormalizer.php} | 30 +- ...tVariableViewEnvironmentViewNormalizer.php | 119 + ...VariableViewEnvironmentViewNormalizer.php} | 51 +- ...VariableViewEnvironmentViewNormalizer.php} | 37 +- ...leWorkflowCommandInputJsonldNormalizer.php | 25 +- ...ileWorkflowCommandJsonldReadNormalizer.php | 96 - ...owCommandJsonldWorkflowReadNormalizer.php} | 29 +- ...reWorkflowCommandInputJsonldNormalizer.php | 41 +- ...wDeclareWorkflowCommandInputNormalizer.php | 29 +- ...owCommandJsonldWorkflowReadNormalizer.php} | 29 +- ...uleCrontabCommandInputJsonldNormalizer.php | 33 +- ...wScheduleCrontabCommandInputNormalizer.php | 21 +- ...abCommandJsonldWorkflowReadNormalizer.php} | 29 +- ...eImmediateCommandInputJsonldNormalizer.php | 29 +- ...cheduleImmediateCommandInputNormalizer.php | 17 +- ...teCommandJsonldWorkflowReadNormalizer.php} | 29 +- ...WorkflowJobActionActionReadNormalizer.php} | 37 +- ...=> WorkflowJobActionJobReadNormalizer.php} | 64 +- ...owJobActionJsonldActionReadNormalizer.php} | 57 +- ...kflowJobActionJsonldJobReadNormalizer.php} | 76 +- ...elineStepCommandInputJsonldNormalizer.php} | 45 +- ...lowPipelineStepCommandInputNormalizer.php} | 33 +- ...lineStepCommandJsonldJobReadNormalizer.php | 87 + ...elineStepCommandInputJsonldNormalizer.php} | 45 +- ...lowPipelineStepCommandInputNormalizer.php} | 33 +- ...lineStepCommandJsonldJobReadNormalizer.php | 87 + ...elineStepCommandInputJsonldNormalizer.php} | 45 +- ...lowPipelineStepCommandInputNormalizer.php} | 33 +- ...ineStepCommandJsonldJobReadNormalizer.php} | 29 +- .../WorkflowJobJobReadNormalizer.php | 124 + .../WorkflowJobJsonldJobReadNormalizer.php | 142 + .../WorkflowJobJsonldReadNormalizer.php | 151 - ...elineStepCommandInputJsonldNormalizer.php} | 37 +- ...lowPipelineStepCommandInputNormalizer.php} | 25 +- ...lineStepCommandJsonldJobReadNormalizer.php | 87 + ...elineStepCommandInputJsonldNormalizer.php} | 37 +- ...lowPipelineStepCommandInputNormalizer.php} | 25 +- ...lineStepCommandJsonldJobReadNormalizer.php | 87 + ... WorkflowJobPipelineJobReadNormalizer.php} | 76 +- ...lowJobPipelineJsonldJobReadNormalizer.php} | 88 +- .../WorkflowJobPipelineJsonldNormalizer.php | 158 - ...bPipelineJsonldPipelineReadNormalizer.php} | 70 +- ...flowJobPipelinePipelineReadNormalizer.php} | 58 +- src/Normalizer/WorkflowJobReadNormalizer.php | 133 - ...lineStepsCommandInputJsonldNormalizer.php} | 33 +- ...owPipelineStepsCommandInputNormalizer.php} | 21 +- ...ineStepsCommandJsonldJobReadNormalizer.php | 87 + ...elineStepCommandInputJsonldNormalizer.php} | 45 +- ...lowPipelineStepCommandInputNormalizer.php} | 33 +- ...lineStepCommandJsonldJobReadNormalizer.php | 87 + ... WorkflowJsonldWorkflowReadNormalizer.php} | 180 +- ...veWorkflowCommandInputJsonldNormalizer.php | 25 +- ...owCommandJsonldWorkflowReadNormalizer.php} | 29 +- ...php => WorkflowWorkflowReadNormalizer.php} | 168 +- ...orkspaceJsonldWorkspaceReadNormalizer.php} | 92 +- ...rkspaceJsonldWorkspaceWriteNormalizer.php} | 44 +- ...p => WorkspaceWorkspaceReadNormalizer.php} | 80 +- ... => WorkspaceWorkspaceWriteNormalizer.php} | 32 +- src/Runtime/Client/BaseEndpoint.php | 14 +- src/Runtime/Client/Client.php | 16 +- src/Runtime/Client/CustomQueryResolver.php | 6 - src/Runtime/Client/Endpoint.php | 6 - src/Runtime/Client/EndpointTrait.php | 6 - src/Runtime/Normalizer/CheckArray.php | 10 +- .../Normalizer/ReferenceNormalizer.php | 12 - .../Normalizer/ValidationException.php | 6 - src/Runtime/Normalizer/ValidatorTrait.php | 6 - 1736 files changed, 30181 insertions(+), 35550 deletions(-) rename src/Authentication/{ApiKeyAuthentication.php => JWTAuthentication.php} (70%) create mode 100644 src/Endpoint/AddAfterPipelineStepWorkflowJobItem.php create mode 100644 src/Endpoint/AddBeforePipelineStepWorkflowJobItem.php rename src/Endpoint/{ApiExecutionsOwnerGetSubresourceExecutionSubresource.php => ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php} (74%) rename src/Endpoint/{ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php => ApiExecutionsScheduleGetSubresourceExecutionSubresource.php} (73%) delete mode 100644 src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php rename src/Endpoint/{ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php => ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php} (67%) rename src/Endpoint/{ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php => ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php} (72%) rename src/Endpoint/{ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource.php => ApiUsersAuthorizationsGetSubresourceUserSubresource.php} (70%) rename src/Endpoint/{ApiPipelinesOwnerGetSubresourcePipelineSubresource.php => ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php} (68%) rename src/Endpoint/{ApiCompilationsUserGetSubresourceCompilationSubresource.php => ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php} (68%) rename src/Endpoint/{ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php => ApiUsersOrganizationGetSubresourceUserSubresource.php} (67%) rename src/Endpoint/{ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php => ApiUsersWorkspacesGetSubresourceUserSubresource.php} (61%) rename src/Endpoint/{ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php => ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php} (71%) create mode 100644 src/Endpoint/AppendPipelineStepWorkflowJobItem.php create mode 100644 src/Endpoint/DeleteJobWorkflowJobItem.php create mode 100644 src/Endpoint/DeletePipelineStepWorkflowJobItem.php create mode 100644 src/Endpoint/DeleteTemplateItem.php create mode 100644 src/Endpoint/GetPipelineStepWorkflowJobItem.php create mode 100644 src/Endpoint/GetTemplateCollection.php rename src/Endpoint/{ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php => GetTemplateItem.php} (65%) rename src/Endpoint/{ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php => GetWorkflowJobActionCollection.php} (64%) create mode 100644 src/Endpoint/MoveAfterPipelineStepWorkflowJobItem.php create mode 100644 src/Endpoint/MoveBeforePipelineStepWorkflowJobItem.php create mode 100644 src/Endpoint/PostTemplateCollection.php create mode 100644 src/Endpoint/PutTemplateItem.php create mode 100644 src/Endpoint/ReorderPipelineStepsWorkflowJobItem.php create mode 100644 src/Endpoint/ReplacePipelineStepWorkflowJobItem.php create mode 100644 src/Exception/AddAfterPipelineStepWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/AddAfterPipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/AddAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/AddBeforePipelineStepWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/AddBeforePipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/AddBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/AppendPipelineStepWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/AppendPipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/AppendPipelineStepWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/DeleteJobWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/DeletePipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/DeleteTemplateItemNotFoundException.php create mode 100644 src/Exception/GetPipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/GetTemplateItemNotFoundException.php create mode 100644 src/Exception/MoveAfterPipelineStepWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/MoveAfterPipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/MoveAfterPipelineStepWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/MoveBeforePipelineStepWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/MoveBeforePipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/MoveBeforePipelineStepWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/PostTemplateCollectionBadRequestException.php create mode 100644 src/Exception/PostTemplateCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PutTemplateItemBadRequestException.php create mode 100644 src/Exception/PutTemplateItemNotFoundException.php create mode 100644 src/Exception/PutTemplateItemUnprocessableEntityException.php create mode 100644 src/Exception/ReorderPipelineStepsWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/ReorderPipelineStepsWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/ReorderPipelineStepsWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/ReplacePipelineStepWorkflowJobItemBadRequestException.php create mode 100644 src/Exception/ReplacePipelineStepWorkflowJobItemNotFoundException.php create mode 100644 src/Exception/ReplacePipelineStepWorkflowJobItemUnprocessableEntityException.php create mode 100644 src/Exception/UnexpectedStatusCodeException.php delete mode 100644 src/Model/AbstractCloudEngine.php delete mode 100644 src/Model/AbstractCloudEngineJsonld.php delete mode 100644 src/Model/AbstractPipeline.php rename src/Model/{PipelineStepRead.php => AbstractPipelineJobRead.php} (61%) delete mode 100644 src/Model/AbstractPipelineJsonld.php rename src/Model/{TraversableJsonld.php => AbstractPipelineJsonldExecutionPipelineStepRead.php} (79%) rename src/Model/{PipelineStepJsonldRead.php => AbstractPipelineJsonldJobRead.php} (73%) rename src/Model/{OpaqueInterfaceJsonld.php => AbstractPipelineJsonldStepRead.php} (79%) rename src/Model/{ActionRead.php => ActionActionRead.php} (89%) rename src/Model/{ActionJsonldRead.php => ActionJsonldActionRead.php} (89%) create mode 100644 src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200.php rename src/Model/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php} (76%) rename src/Model/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php} (85%) rename src/Model/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php} (90%) rename src/Model/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php} (58%) rename src/Model/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php} (77%) rename src/Model/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php} (85%) rename src/Model/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php} (90%) rename src/Model/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php} (60%) rename src/Model/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php} (76%) rename src/Model/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php} (85%) rename src/Model/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php} (90%) create mode 100644 src/Model/BuyablePrice.php rename src/Model/{PriceJsonldRead.php => BuyablePriceJsonld.php} (62%) rename src/Model/{ExecutionInterruptPipelineExecutionCommandJsonldRead.php => BuyablePriceJsonldRead.php} (70%) create mode 100644 src/Model/BuyablePriceRead.php create mode 100644 src/Model/CompilationCompilationRead.php rename src/Model/{Compilation.php => CompilationJsonldCompilationRead.php} (68%) delete mode 100644 src/Model/ConfigurationChangeConfigurationValueInput.php create mode 100644 src/Model/ConfigurationChangeConfigurationValueInputConfigurationUpdate.php delete mode 100644 src/Model/ConfigurationChangeConfigurationValueInputJsonld.php rename src/Model/{SecretChangeSecretValueInputJsonld.php => ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php} (76%) rename src/Model/{SecretEdit.php => ConfigurationConfigurationUpdate.php} (82%) rename src/Model/{Secret.php => ConfigurationConfigurationView.php} (93%) rename src/Model/{SecretCreateSecretInput.php => ConfigurationCreateConfigurationInputConfigurationCreate.php} (86%) rename src/Model/{SecretCreateSecretInputJsonld.php => ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php} (88%) delete mode 100644 src/Model/ConfigurationEdit.php rename src/Model/{SecretJsonldEdit.php => ConfigurationJsonldConfigurationUpdate.php} (86%) rename src/Model/{SecretJsonld.php => ConfigurationJsonldConfigurationView.php} (92%) delete mode 100644 src/Model/ConfigurationRead.php rename src/Model/{SecretRemoveSecretValueInput.php => ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php} (75%) rename src/Model/{SecretRemoveSecretValueInputJsonld.php => ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php} (83%) rename src/Model/{EnvironmentAddMultipleVariableFromConfigurationInput.php => EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php} (58%) rename src/Model/{EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php => EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php} (77%) rename src/Model/{EnvironmentAddMultipleVariableFromSecretInput.php => EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php} (59%) rename src/Model/{EnvironmentAddMultipleVariableFromSecretInputJsonld.php => EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php} (75%) rename src/Model/{EnvironmentAddMultipleVariableFromConstantInput.php => EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php} (59%) rename src/Model/{EnvironmentAddMultipleVariableFromConstantInputJsonld.php => EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php} (74%) rename src/Model/{EnvironmentCreateEnvironmentInput.php => EnvironmentCreateEnvironmentInputEnvironmentCreate.php} (86%) rename src/Model/{EnvironmentCreateEnvironmentInputJsonld.php => EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php} (88%) rename src/Model/{EnvironmentWrite.php => EnvironmentEnvironmentUpdate.php} (81%) create mode 100644 src/Model/EnvironmentEnvironmentView.php rename src/Model/{EnvironmentJsonldWrite.php => EnvironmentJsonldEnvironmentUpdate.php} (86%) rename src/Model/{EnvironmentJsonldRead.php => EnvironmentJsonldEnvironmentView.php} (70%) create mode 100644 src/Model/EnvironmentJsonldVariableViewEnvironmentView.php rename src/Model/{ConfigurationJsonldEdit.php => EnvironmentVariableViewEnvironmentView.php} (61%) rename src/Model/{ExecutionAction.php => ExecutionActionExecutionActionRead.php} (81%) rename src/Model/{ExecutionActionJsonld.php => ExecutionActionJsonldExecutionActionRead.php} (86%) rename src/Model/{VariableFromSecretJsonldWrite.php => ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php} (79%) delete mode 100644 src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php rename src/Model/{ExecutionRead.php => ExecutionExecutionRead.php} (62%) delete mode 100644 src/Model/ExecutionId.php delete mode 100644 src/Model/ExecutionIdJsonld.php rename src/Model/{VariableFromConstantJsonldWrite.php => ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php} (79%) rename src/Model/{ExecutionJsonldRead.php => ExecutionJsonldExecutionRead.php} (66%) rename src/Model/{ExecutionPipeline.php => ExecutionPipelineExecutionPipelineRead.php} (86%) rename src/Model/{ExecutionPipelineJsonld.php => ExecutionPipelineJsonldExecutionPipelineRead.php} (88%) rename src/Model/{ExecutionPipelineStep.php => ExecutionPipelineStepExecutionPipelineStepRead.php} (75%) rename src/Model/{ExecutionPipelineStepJsonld.php => ExecutionPipelineStepJsonldExecutionPipelineStepRead.php} (81%) create mode 100644 src/Model/ExecutionResumePipelineExecutionCommandJsonldExecutionRead.php delete mode 100644 src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php create mode 100644 src/Model/ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead.php delete mode 100644 src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php rename src/Model/{ExecutionWorkflow.php => ExecutionWorkflowExecutionWorkflowRead.php} (86%) delete mode 100644 src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommand.php delete mode 100644 src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonld.php create mode 100644 src/Model/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowRead.php rename src/Model/{ExecutionWorkflowJob.php => ExecutionWorkflowJobExecutionWorkflowJobRead.php} (88%) rename src/Model/{ExecutionWorkflowJobJsonld.php => ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php} (89%) rename src/Model/{ExecutionWorkflowJsonld.php => ExecutionWorkflowJsonldExecutionWorkflowRead.php} (88%) delete mode 100644 src/Model/ExecutionWorkflowResumeWorkflowExecutionCommand.php delete mode 100644 src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonld.php create mode 100644 src/Model/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead.php delete mode 100644 src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommand.php delete mode 100644 src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonld.php create mode 100644 src/Model/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowRead.php delete mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch.php delete mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php delete mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView.php rename src/Model/{GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php} (66%) rename src/Model/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php} (75%) rename src/Model/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php} (85%) rename src/Model/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php} (90%) create mode 100644 src/Model/OpaqueInterfaceJsonldSecretUpdate.php delete mode 100644 src/Model/OrganizationAddCollaborators.php rename src/Model/{OrganizationJsonld.php => OrganizationJsonldOrganizationRead.php} (94%) rename src/Model/{PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php => OrganizationJsonldOrganizationWrite.php} (75%) rename src/Model/{Organization.php => OrganizationOrganizationRead.php} (95%) create mode 100644 src/Model/OrganizationOrganizationWrite.php create mode 100644 src/Model/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php create mode 100644 src/Model/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerAuthCommandInput.php delete mode 100644 src/Model/PipelineAddPipelineComposerAuthCommandInputJsonld.php create mode 100644 src/Model/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerAuthCommandJsonldRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php delete mode 100644 src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php create mode 100644 src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerPackageCommandInput.php delete mode 100644 src/Model/PipelineAddPipelineComposerPackageCommandInputJsonld.php create mode 100644 src/Model/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerPackageCommandJsonldRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerRepositoryCommandInput.php create mode 100644 src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddPipelineComposerRepositoryCommandJsonldRead.php delete mode 100644 src/Model/PipelineAddPipelineStepProbeCommandInput.php create mode 100644 src/Model/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php rename src/Model/{PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php => PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php} (79%) create mode 100644 src/Model/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineAppendPipelineStepCommandJsonldRead.php delete mode 100644 src/Model/PipelineCompilePipelineCommandInputJsonld.php create mode 100644 src/Model/PipelineCompilePipelineCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineCompilePipelineCommandJsonldRead.php create mode 100644 src/Model/PipelineDeclarePipelineCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineDeclarePipelineCommandJsonldRead.php delete mode 100644 src/Model/PipelineDeclarePipelineScheduleImmediateCommandInput.php create mode 100644 src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineDeclarePipelineScheduleImmediateCommandJsonldRead.php delete mode 100644 src/Model/PipelineDeclarePipelineScheduleOnceCommandInput.php delete mode 100644 src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonld.php create mode 100644 src/Model/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineDeclarePipelineScheduleOnceCommandJsonldRead.php rename src/Model/{PipelineRead.php => PipelineJsonldPipelineReadPipelineSubresourceRead.php} (86%) create mode 100644 src/Model/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php create mode 100644 src/Model/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php rename src/Model/{WorkflowRead.php => PipelinePipelineReadPipelineSubresourceRead.php} (82%) delete mode 100644 src/Model/PipelineRemovePipelineComposerAuthCommandInput.php delete mode 100644 src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonld.php create mode 100644 src/Model/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineRemovePipelineComposerAuthCommandJsonldRead.php delete mode 100644 src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInput.php delete mode 100644 src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonld.php create mode 100644 src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineRemovePipelineComposerPackageCommandInput.php delete mode 100644 src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonld.php create mode 100644 src/Model/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineRemovePipelineComposerPackageCommandJsonldRead.php delete mode 100644 src/Model/PipelineRemovePipelineComposerRepositoryCommandInput.php create mode 100644 src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceRead.php create mode 100644 src/Model/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php create mode 100644 src/Model/PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php create mode 100644 src/Model/PipelineReplacePipelineStepCommandInputJsonldPipelineWrite.php create mode 100644 src/Model/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead.php delete mode 100644 src/Model/PipelineReplacePipelineStepCommandJsonldRead.php create mode 100644 src/Model/PipelineStepJobRead.php rename src/Model/{PipelineStepJsonld.php => PipelineStepJsonldJobRead.php} (80%) create mode 100644 src/Model/PipelineStepJsonldStepRead.php rename src/Model/{PipelineStepProbeJsonld.php => PipelineStepProbeJsonldStepProbeRead.php} (79%) rename src/Model/{PipelineStepProbe.php => PipelineStepProbeStepProbeRead.php} (73%) rename src/Model/{PipelineStep.php => PipelineStepStepRead.php} (78%) delete mode 100644 src/Model/PriceRead.php delete mode 100644 src/Model/Region.php delete mode 100644 src/Model/RegionJsonld.php rename src/Model/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php => RuntimeTemplatesGetLdjsonResponse200.php} (59%) create mode 100644 src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearch.php create mode 100644 src/Model/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/RuntimeTemplatesGetLdjsonResponse200HydraView.php rename src/Model/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php => RuntimeWorkflowsActionsGetLdjsonResponse200.php} (58%) create mode 100644 src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch.php create mode 100644 src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200HydraView.php rename src/Model/{CompilationJsonld.php => ScheduleJsonldScheduleRead.php} (52%) create mode 100644 src/Model/ScheduleScheduleRead.php create mode 100644 src/Model/ScheduleTypeJsonldScheduleRead.php rename src/Model/{PipelineAddPipelineStepProbeCommandInputJsonld.php => SecretChangeSecretValueInputJsonldSecretUpdate.php} (68%) rename src/Model/{SecretChangeSecretValueInput.php => SecretChangeSecretValueInputSecretUpdate.php} (75%) rename src/Model/{ConfigurationCreateConfigurationInputJsonld.php => SecretCreateSecretInputJsonldSecretCreate.php} (87%) rename src/Model/{ConfigurationCreateConfigurationInput.php => SecretCreateSecretInputSecretCreate.php} (85%) rename src/Model/{ConfigurationJsonld.php => SecretJsonldSecretRead.php} (92%) create mode 100644 src/Model/SecretJsonldSecretUpdate.php delete mode 100644 src/Model/SecretRead.php rename src/Model/{ConfigurationRemoveConfigurationValueInputJsonld.php => SecretRemoveSecretValueInputJsonldSecretUpdate.php} (83%) rename src/Model/{ConfigurationRemoveConfigurationValueInput.php => SecretRemoveSecretValueInputSecretUpdate.php} (74%) rename src/Model/{Configuration.php => SecretSecretRead.php} (93%) create mode 100644 src/Model/Template.php rename src/Model/{WorkflowJobPipelineRead.php => TemplateDeclareSatelliteTemplateInput.php} (52%) rename src/Model/{WorkflowJobPipelineJsonldRead.php => TemplateDeclareSatelliteTemplateInputJsonld.php} (64%) rename src/Model/{ConfigurationJsonldRead.php => TemplateJsonld.php} (58%) rename src/Model/{WorkflowJobPipelineJsonld.php => TemplateJsonldTemplateCreate.php} (62%) create mode 100644 src/Model/TemplateJsonldTemplateList.php create mode 100644 src/Model/TemplateJsonldTemplateUpdate.php create mode 100644 src/Model/TemplateJsonldTemplateView.php create mode 100644 src/Model/TemplateTemplateCreate.php create mode 100644 src/Model/TemplateTemplateList.php create mode 100644 src/Model/TemplateTemplateView.php rename src/Model/{UserAuthorization.php => UserAuthorizationAuthorizationRead.php} (92%) rename src/Model/{EnvironmentRead.php => UserAuthorizationAuthorizationWrite.php} (53%) rename src/Model/{UserAuthorizationJsonld.php => UserAuthorizationJsonldAuthorizationRead.php} (91%) rename src/Model/{SecretJsonldRead.php => UserAuthorizationJsonldAuthorizationWrite.php} (61%) delete mode 100644 src/Model/UserId.php delete mode 100644 src/Model/UserIdJsonld.php rename src/Model/{UserJsonld.php => UserJsonldUserRead.php} (54%) create mode 100644 src/Model/UserJsonldUserWrite.php delete mode 100644 src/Model/UserUserChangePasswordInput.php rename src/Model/{User.php => UserUserRead.php} (50%) create mode 100644 src/Model/UserUserWrite.php rename src/Model/{VariableFromSecretInput.php => VariableFromConfigurationInputEnvironmentUpdate.php} (80%) rename src/Model/{VariableFromSecretInputJsonld.php => VariableFromConfigurationInputJsonldEnvironmentUpdate.php} (85%) rename src/Model/{VariableFromConfigurationJsonldRead.php => VariableFromConfigurationJsonldVariableUpdate.php} (76%) create mode 100644 src/Model/VariableFromConfigurationJsonldVariableViewEnvironmentView.php delete mode 100644 src/Model/VariableFromConfigurationJsonldWrite.php rename src/Model/{VariableFromConfigurationRead.php => VariableFromConfigurationVariableUpdate.php} (69%) create mode 100644 src/Model/VariableFromConfigurationVariableViewEnvironmentView.php rename src/Model/{VariableFromConstantInput.php => VariableFromConstantInputEnvironmentUpdate.php} (80%) rename src/Model/{VariableFromConstantInputJsonld.php => VariableFromConstantInputJsonldEnvironmentUpdate.php} (85%) rename src/Model/{VariableFromConstantJsonldRead.php => VariableFromConstantJsonldVariableUpdate.php} (80%) create mode 100644 src/Model/VariableFromConstantJsonldVariableViewEnvironmentView.php rename src/Model/{VariableFromConstantRead.php => VariableFromConstantVariableUpdate.php} (74%) rename src/Model/{VariableJsonldRead.php => VariableFromConstantVariableViewEnvironmentView.php} (65%) rename src/Model/{VariableFromConfigurationInput.php => VariableFromSecretInputEnvironmentUpdate.php} (79%) rename src/Model/{VariableFromConfigurationInputJsonld.php => VariableFromSecretInputJsonldEnvironmentUpdate.php} (85%) rename src/Model/{PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php => VariableFromSecretJsonldVariableUpdate.php} (77%) rename src/Model/{VariableFromSecretJsonldRead.php => VariableFromSecretJsonldVariableViewEnvironmentView.php} (72%) rename src/Model/{VariableRead.php => VariableFromSecretVariableUpdate.php} (67%) rename src/Model/{VariableFromSecretRead.php => VariableFromSecretVariableViewEnvironmentView.php} (61%) rename src/Model/{PipelineAddPipelineComposerRepositoryCommandInputJsonld.php => VariableJsonldVariableViewEnvironmentView.php} (67%) create mode 100644 src/Model/VariableVariableViewEnvironmentView.php delete mode 100644 src/Model/WorkflowCompileWorkflowCommandJsonldRead.php create mode 100644 src/Model/WorkflowCompileWorkflowCommandJsonldWorkflowRead.php delete mode 100644 src/Model/WorkflowDeclareWorkflowCommandJsonldRead.php create mode 100644 src/Model/WorkflowDeclareWorkflowCommandJsonldWorkflowRead.php delete mode 100644 src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead.php create mode 100644 src/Model/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead.php delete mode 100644 src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead.php create mode 100644 src/Model/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead.php rename src/Model/{WorkflowJobAction.php => WorkflowJobActionActionRead.php} (90%) rename src/Model/{WorkflowJobActionRead.php => WorkflowJobActionJobRead.php} (77%) rename src/Model/{WorkflowJobActionJsonld.php => WorkflowJobActionJsonldActionRead.php} (90%) rename src/Model/{WorkflowJobActionJsonldRead.php => WorkflowJobActionJsonldJobRead.php} (84%) rename src/Model/{PipelineAppendPipelineStepCommandInput.php => WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php} (88%) rename src/Model/{PipelineAppendPipelineStepCommandInputJsonld.php => WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php} (89%) rename src/Model/{PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php => WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php} (79%) rename src/Model/{PipelineReplacePipelineStepCommandInput.php => WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php} (88%) rename src/Model/{PipelineReplacePipelineStepCommandInputJsonld.php => WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php} (89%) create mode 100644 src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobRead.php rename src/Model/{PipelineAddAfterPipelineStepCommandInput.php => WorkflowJobAppendWorkflowPipelineStepCommandInput.php} (88%) rename src/Model/{PipelineAddAfterPipelineStepCommandInputJsonld.php => WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php} (89%) create mode 100644 src/Model/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead.php create mode 100644 src/Model/WorkflowJobJobRead.php rename src/Model/{WorkflowJobJsonldRead.php => WorkflowJobJsonldJobRead.php} (61%) rename src/Model/{PipelineMoveAfterPipelineStepCommandInput.php => WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php} (78%) rename src/Model/{PipelineMoveAfterPipelineStepCommandInputJsonld.php => WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php} (84%) create mode 100644 src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobRead.php rename src/Model/{PipelineMoveBeforePipelineStepCommandInput.php => WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php} (78%) rename src/Model/{PipelineMoveBeforePipelineStepCommandInputJsonld.php => WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php} (84%) create mode 100644 src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobRead.php rename src/Model/{PipelineDeclarePipelineCommandInput.php => WorkflowJobPipelineJobRead.php} (67%) rename src/Model/{PipelineDeclarePipelineCommandInputJsonld.php => WorkflowJobPipelineJsonldJobRead.php} (75%) rename src/Model/{WorkflowJobPipeline.php => WorkflowJobPipelineJsonldPipelineRead.php} (74%) create mode 100644 src/Model/WorkflowJobPipelinePipelineRead.php delete mode 100644 src/Model/WorkflowJobRead.php rename src/Model/{PipelineReorderPipelineStepsCommandInput.php => WorkflowJobReorderWorkflowPipelineStepsCommandInput.php} (73%) rename src/Model/{PipelineReorderPipelineStepsCommandInputJsonld.php => WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php} (83%) create mode 100644 src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobRead.php rename src/Model/{PipelineAddBeforePipelineStepCommandInput.php => WorkflowJobReplaceWorkflowPipelineStepCommandInput.php} (88%) rename src/Model/{PipelineAddBeforePipelineStepCommandInputJsonld.php => WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php} (89%) create mode 100644 src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobRead.php rename src/Model/{PipelineJsonldRead.php => WorkflowJsonldWorkflowRead.php} (74%) delete mode 100644 src/Model/WorkflowRemoveWorkflowCommandJsonldRead.php create mode 100644 src/Model/WorkflowRemoveWorkflowCommandJsonldWorkflowRead.php rename src/Model/{WorkflowJsonldRead.php => WorkflowWorkflowRead.php} (75%) rename src/Model/{WorkspaceJsonld.php => WorkspaceJsonldWorkspaceRead.php} (84%) create mode 100644 src/Model/WorkspaceJsonldWorkspaceWrite.php rename src/Model/{Workspace.php => WorkspaceWorkspaceRead.php} (82%) create mode 100644 src/Model/WorkspaceWorkspaceWrite.php delete mode 100644 src/Normalizer/AbstractCloudEngineJsonldNormalizer.php delete mode 100644 src/Normalizer/AbstractCloudEngineNormalizer.php rename src/Normalizer/{AbstractPipelineNormalizer.php => AbstractPipelineJobReadNormalizer.php} (63%) rename src/Normalizer/{PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php => AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php} (71%) rename src/Normalizer/{AbstractPipelineJsonldNormalizer.php => AbstractPipelineJsonldJobReadNormalizer.php} (60%) rename src/Normalizer/{TraversableJsonldNormalizer.php => AbstractPipelineJsonldStepReadNormalizer.php} (70%) rename src/Normalizer/{PipelineStepReadNormalizer.php => ActionActionReadNormalizer.php} (72%) rename src/Normalizer/{PipelineStepJsonldReadNormalizer.php => ActionJsonldActionReadNormalizer.php} (67%) rename src/Normalizer/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php} (68%) rename src/Normalizer/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php} (73%) rename src/Normalizer/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php} (70%) rename src/Normalizer/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php => AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php} (68%) rename src/Normalizer/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php} (69%) rename src/Normalizer/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php} (73%) rename src/Normalizer/{RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php} (69%) rename src/Normalizer/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php => AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php} (68%) rename src/Normalizer/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php} (68%) rename src/Normalizer/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php} (73%) rename src/Normalizer/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php => AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php} (69%) create mode 100644 src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200Normalizer.php rename src/Normalizer/{PriceJsonldReadNormalizer.php => BuyablePriceJsonldNormalizer.php} (52%) rename src/Normalizer/{UserIdJsonldNormalizer.php => BuyablePriceJsonldReadNormalizer.php} (62%) create mode 100644 src/Normalizer/BuyablePriceNormalizer.php rename src/Normalizer/{PriceReadNormalizer.php => BuyablePriceReadNormalizer.php} (64%) rename src/Normalizer/{CompilationNormalizer.php => CompilationCompilationReadNormalizer.php} (55%) rename src/Normalizer/{CompilationJsonldNormalizer.php => CompilationJsonldCompilationReadNormalizer.php} (54%) create mode 100644 src/Normalizer/ConfigurationChangeConfigurationValueInputConfigurationUpdateNormalizer.php rename src/Normalizer/{ConfigurationChangeConfigurationValueInputJsonldNormalizer.php => ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php} (62%) delete mode 100644 src/Normalizer/ConfigurationChangeConfigurationValueInputNormalizer.php rename src/Normalizer/{SecretEditNormalizer.php => ConfigurationConfigurationUpdateNormalizer.php} (76%) rename src/Normalizer/{SecretNormalizer.php => ConfigurationConfigurationViewNormalizer.php} (70%) rename src/Normalizer/{ConfigurationCreateConfigurationInputNormalizer.php => ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php} (76%) rename src/Normalizer/{ConfigurationCreateConfigurationInputJsonldNormalizer.php => ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php} (70%) delete mode 100644 src/Normalizer/ConfigurationEditNormalizer.php rename src/Normalizer/{SecretJsonldEditNormalizer.php => ConfigurationJsonldConfigurationUpdateNormalizer.php} (69%) rename src/Normalizer/{SecretJsonldNormalizer.php => ConfigurationJsonldConfigurationViewNormalizer.php} (66%) delete mode 100644 src/Normalizer/ConfigurationJsonldEditNormalizer.php delete mode 100644 src/Normalizer/ConfigurationJsonldReadNormalizer.php delete mode 100644 src/Normalizer/ConfigurationReadNormalizer.php rename src/Normalizer/{ConfigurationRemoveConfigurationValueInputNormalizer.php => ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php} (78%) rename src/Normalizer/{ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php => ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php} (71%) rename src/Normalizer/{EnvironmentAddMultipleVariableFromSecretInputNormalizer.php => EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php} (77%) rename src/Normalizer/{EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php => EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php} (72%) rename src/Normalizer/{EnvironmentAddMultipleVariableFromConstantInputNormalizer.php => EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php} (76%) rename src/Normalizer/{EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php => EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php} (69%) rename src/Normalizer/{EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php => EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php} (76%) rename src/Normalizer/{EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php => EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php} (70%) rename src/Normalizer/{EnvironmentCreateEnvironmentInputNormalizer.php => EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php} (75%) rename src/Normalizer/{EnvironmentCreateEnvironmentInputJsonldNormalizer.php => EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php} (70%) rename src/Normalizer/{EnvironmentWriteNormalizer.php => EnvironmentEnvironmentUpdateNormalizer.php} (75%) create mode 100644 src/Normalizer/EnvironmentEnvironmentViewNormalizer.php rename src/Normalizer/{EnvironmentJsonldWriteNormalizer.php => EnvironmentJsonldEnvironmentUpdateNormalizer.php} (68%) create mode 100644 src/Normalizer/EnvironmentJsonldEnvironmentViewNormalizer.php create mode 100644 src/Normalizer/EnvironmentJsonldVariableViewEnvironmentViewNormalizer.php create mode 100644 src/Normalizer/EnvironmentVariableViewEnvironmentViewNormalizer.php rename src/Normalizer/{ExecutionActionNormalizer.php => ExecutionActionExecutionActionReadNormalizer.php} (74%) rename src/Normalizer/{ExecutionActionJsonldNormalizer.php => ExecutionActionJsonldExecutionActionReadNormalizer.php} (69%) rename src/Normalizer/{PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php => ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php} (70%) delete mode 100644 src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php rename src/Normalizer/{ExecutionReadNormalizer.php => ExecutionExecutionReadNormalizer.php} (50%) delete mode 100644 src/Normalizer/ExecutionIdJsonldNormalizer.php delete mode 100644 src/Normalizer/ExecutionIdNormalizer.php rename src/Normalizer/{ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php => ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php} (69%) rename src/Normalizer/{ExecutionJsonldReadNormalizer.php => ExecutionJsonldExecutionReadNormalizer.php} (50%) rename src/Normalizer/{ExecutionPipelineNormalizer.php => ExecutionPipelineExecutionPipelineReadNormalizer.php} (74%) rename src/Normalizer/{ExecutionPipelineJsonldNormalizer.php => ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php} (69%) rename src/Normalizer/{ExecutionPipelineStepNormalizer.php => ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php} (53%) rename src/Normalizer/{ExecutionPipelineStepJsonldNormalizer.php => ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php} (69%) rename src/Normalizer/{ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php => ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php} (70%) rename src/Normalizer/{ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php => ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php} (69%) rename src/Normalizer/{ExecutionWorkflowNormalizer.php => ExecutionWorkflowExecutionWorkflowReadNormalizer.php} (74%) create mode 100644 src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php delete mode 100644 src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandJsonldNormalizer.php delete mode 100644 src/Normalizer/ExecutionWorkflowInterruptWorkflowExecutionCommandNormalizer.php rename src/Normalizer/{ExecutionWorkflowJobNormalizer.php => ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php} (70%) rename src/Normalizer/{ExecutionWorkflowJobJsonldNormalizer.php => ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php} (66%) rename src/Normalizer/{ExecutionWorkflowJsonldNormalizer.php => ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php} (69%) rename src/Normalizer/{PipelineCompilePipelineCommandInputJsonldNormalizer.php => ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php} (68%) delete mode 100644 src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldNormalizer.php delete mode 100644 src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandNormalizer.php create mode 100644 src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php delete mode 100644 src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandJsonldNormalizer.php delete mode 100644 src/Normalizer/ExecutionWorkflowTerminateWorkflowExecutionCommandNormalizer.php rename src/Normalizer/{GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php} (69%) rename src/Normalizer/{GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php} (74%) rename src/Normalizer/{GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php} (70%) rename src/Normalizer/{GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php => GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php} (73%) rename src/Normalizer/{OpaqueInterfaceJsonldNormalizer.php => OpaqueInterfaceJsonldSecretUpdateNormalizer.php} (72%) delete mode 100644 src/Normalizer/OrganizationAddCollaboratorsNormalizer.php rename src/Normalizer/{OrganizationJsonldNormalizer.php => OrganizationJsonldOrganizationReadNormalizer.php} (72%) create mode 100644 src/Normalizer/OrganizationJsonldOrganizationWriteNormalizer.php rename src/Normalizer/{OrganizationNormalizer.php => OrganizationOrganizationReadNormalizer.php} (75%) create mode 100644 src/Normalizer/OrganizationOrganizationWriteNormalizer.php rename src/Normalizer/{PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php => PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php} (70%) create mode 100644 src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{VariableFromSecretJsonldWriteNormalizer.php => PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php} (69%) rename src/Normalizer/{PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php => PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (70%) delete mode 100644 src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php delete mode 100644 src/Normalizer/PipelineAddPipelineComposerAuthCommandInputNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php delete mode 100644 src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php delete mode 100644 src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php delete mode 100644 src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php delete mode 100644 src/Normalizer/PipelineAddPipelineComposerPackageCommandInputNormalizer.php rename src/Normalizer/{PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php => PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (69%) delete mode 100644 src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldNormalizer.php rename src/Normalizer/{PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php => PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php} (69%) delete mode 100644 src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php delete mode 100644 src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldNormalizer.php rename src/Normalizer/{PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php => PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php} (70%) delete mode 100644 src/Normalizer/PipelineAddPipelineStepProbeCommandInputNormalizer.php create mode 100644 src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php => PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php} (70%) rename src/Normalizer/{PipelineAppendPipelineStepCommandJsonldReadNormalizer.php => PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (70%) rename src/Normalizer/{PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php => PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php} (71%) rename src/Normalizer/{PipelineCompilePipelineCommandJsonldReadNormalizer.php => PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (70%) delete mode 100644 src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php rename src/Normalizer/{PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php => PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php} (71%) delete mode 100644 src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php rename src/Normalizer/{PipelineDeclarePipelineCommandJsonldReadNormalizer.php => PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (70%) rename src/Normalizer/{PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php => PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php} (69%) create mode 100644 src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php create mode 100644 src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldPipelineWriteNormalizer.php create mode 100644 src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{WorkflowJsonldReadNormalizer.php => PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (61%) create mode 100644 src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php rename src/Normalizer/{PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php => PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (70%) create mode 100644 src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php create mode 100644 src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{WorkflowReadNormalizer.php => PipelinePipelineReadPipelineSubresourceReadNormalizer.php} (63%) delete mode 100644 src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputJsonldPipelineWriteNormalizer.php delete mode 100644 src/Normalizer/PipelineRemovePipelineComposerAuthCommandInputNormalizer.php rename src/Normalizer/{PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php => PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php} (69%) delete mode 100644 src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputJsonldPipelineWriteNormalizer.php delete mode 100644 src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandInputNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php delete mode 100644 src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldNormalizer.php rename src/Normalizer/{PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php => PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php} (69%) delete mode 100644 src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php create mode 100644 src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php => PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php} (70%) create mode 100644 src/Normalizer/PipelineReorderPipelineStepsCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{PipelineReplacePipelineStepCommandJsonldReadNormalizer.php => PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php} (70%) create mode 100644 src/Normalizer/PipelineReplacePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php rename src/Normalizer/{PipelineStepNormalizer.php => PipelineStepJobReadNormalizer.php} (67%) rename src/Normalizer/{PipelineStepJsonldNormalizer.php => PipelineStepJsonldJobReadNormalizer.php} (64%) create mode 100644 src/Normalizer/PipelineStepJsonldStepReadNormalizer.php rename src/Normalizer/{PipelineStepProbeJsonldNormalizer.php => PipelineStepProbeJsonldStepProbeReadNormalizer.php} (61%) rename src/Normalizer/{PipelineStepProbeNormalizer.php => PipelineStepProbeStepProbeReadNormalizer.php} (64%) create mode 100644 src/Normalizer/PipelineStepStepReadNormalizer.php delete mode 100644 src/Normalizer/RegionJsonldNormalizer.php delete mode 100644 src/Normalizer/RegionNormalizer.php rename src/Normalizer/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php => RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php} (68%) rename src/Normalizer/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php => RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php} (73%) rename src/Normalizer/{EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php => RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php} (69%) rename src/Normalizer/{RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php => RuntimeTemplatesGetLdjsonResponse200Normalizer.php} (68%) create mode 100644 src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200HydraViewNormalizer.php rename src/Normalizer/{RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php => RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php} (71%) create mode 100644 src/Normalizer/ScheduleJsonldScheduleReadNormalizer.php create mode 100644 src/Normalizer/ScheduleScheduleReadNormalizer.php rename src/Normalizer/{VariableFromConstantJsonldWriteNormalizer.php => ScheduleTypeJsonldScheduleReadNormalizer.php} (69%) rename src/Normalizer/{SecretChangeSecretValueInputJsonldNormalizer.php => SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php} (71%) rename src/Normalizer/{SecretChangeSecretValueInputNormalizer.php => SecretChangeSecretValueInputSecretUpdateNormalizer.php} (82%) rename src/Normalizer/{SecretCreateSecretInputJsonldNormalizer.php => SecretCreateSecretInputJsonldSecretCreateNormalizer.php} (71%) rename src/Normalizer/{SecretCreateSecretInputNormalizer.php => SecretCreateSecretInputSecretCreateNormalizer.php} (77%) delete mode 100644 src/Normalizer/SecretJsonldReadNormalizer.php rename src/Normalizer/{ConfigurationJsonldNormalizer.php => SecretJsonldSecretReadNormalizer.php} (66%) create mode 100644 src/Normalizer/SecretJsonldSecretUpdateNormalizer.php delete mode 100644 src/Normalizer/SecretReadNormalizer.php rename src/Normalizer/{SecretRemoveSecretValueInputJsonldNormalizer.php => SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php} (72%) rename src/Normalizer/{SecretRemoveSecretValueInputNormalizer.php => SecretRemoveSecretValueInputSecretUpdateNormalizer.php} (79%) rename src/Normalizer/{ConfigurationNormalizer.php => SecretSecretReadNormalizer.php} (70%) create mode 100644 src/Normalizer/TemplateDeclareSatelliteTemplateInputJsonldNormalizer.php rename src/Normalizer/{WorkflowJobPipelineNormalizer.php => TemplateDeclareSatelliteTemplateInputNormalizer.php} (50%) create mode 100644 src/Normalizer/TemplateJsonldNormalizer.php create mode 100644 src/Normalizer/TemplateJsonldTemplateCreateNormalizer.php create mode 100644 src/Normalizer/TemplateJsonldTemplateListNormalizer.php create mode 100644 src/Normalizer/TemplateJsonldTemplateUpdateNormalizer.php create mode 100644 src/Normalizer/TemplateJsonldTemplateViewNormalizer.php create mode 100644 src/Normalizer/TemplateNormalizer.php create mode 100644 src/Normalizer/TemplateTemplateCreateNormalizer.php create mode 100644 src/Normalizer/TemplateTemplateListNormalizer.php create mode 100644 src/Normalizer/TemplateTemplateViewNormalizer.php rename src/Normalizer/{UserAuthorizationNormalizer.php => UserAuthorizationAuthorizationReadNormalizer.php} (71%) rename src/Normalizer/{EnvironmentReadNormalizer.php => UserAuthorizationAuthorizationWriteNormalizer.php} (51%) rename src/Normalizer/{UserAuthorizationJsonldNormalizer.php => UserAuthorizationJsonldAuthorizationReadNormalizer.php} (68%) rename src/Normalizer/{EnvironmentJsonldReadNormalizer.php => UserAuthorizationJsonldAuthorizationWriteNormalizer.php} (50%) delete mode 100644 src/Normalizer/UserIdNormalizer.php delete mode 100644 src/Normalizer/UserJsonldNormalizer.php create mode 100644 src/Normalizer/UserJsonldUserReadNormalizer.php create mode 100644 src/Normalizer/UserJsonldUserWriteNormalizer.php delete mode 100644 src/Normalizer/UserNormalizer.php delete mode 100644 src/Normalizer/UserUserChangePasswordInputNormalizer.php create mode 100644 src/Normalizer/UserUserReadNormalizer.php create mode 100644 src/Normalizer/UserUserWriteNormalizer.php rename src/Normalizer/{VariableFromConfigurationInputNormalizer.php => VariableFromConfigurationInputEnvironmentUpdateNormalizer.php} (76%) rename src/Normalizer/{VariableFromConfigurationInputJsonldNormalizer.php => VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php} (69%) create mode 100644 src/Normalizer/VariableFromConfigurationJsonldVariableUpdateNormalizer.php rename src/Normalizer/{VariableFromConfigurationJsonldReadNormalizer.php => VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php} (54%) delete mode 100644 src/Normalizer/VariableFromConfigurationJsonldWriteNormalizer.php create mode 100644 src/Normalizer/VariableFromConfigurationVariableUpdateNormalizer.php rename src/Normalizer/{VariableFromConfigurationReadNormalizer.php => VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php} (55%) rename src/Normalizer/{VariableFromConstantInputNormalizer.php => VariableFromConstantInputEnvironmentUpdateNormalizer.php} (76%) rename src/Normalizer/{VariableFromConstantInputJsonldNormalizer.php => VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php} (69%) rename src/Normalizer/{PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php => VariableFromConstantJsonldVariableUpdateNormalizer.php} (58%) rename src/Normalizer/{VariableFromConstantJsonldReadNormalizer.php => VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php} (64%) rename src/Normalizer/{PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php => VariableFromConstantVariableUpdateNormalizer.php} (61%) rename src/Normalizer/{VariableFromConstantReadNormalizer.php => VariableFromConstantVariableViewEnvironmentViewNormalizer.php} (67%) rename src/Normalizer/{VariableFromSecretInputNormalizer.php => VariableFromSecretInputEnvironmentUpdateNormalizer.php} (77%) rename src/Normalizer/{VariableFromSecretInputJsonldNormalizer.php => VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php} (69%) rename src/Normalizer/{PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php => VariableFromSecretJsonldVariableUpdateNormalizer.php} (63%) rename src/Normalizer/{VariableFromSecretJsonldReadNormalizer.php => VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php} (54%) delete mode 100644 src/Normalizer/VariableFromSecretReadNormalizer.php rename src/Normalizer/{PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php => VariableFromSecretVariableUpdateNormalizer.php} (69%) create mode 100644 src/Normalizer/VariableFromSecretVariableViewEnvironmentViewNormalizer.php rename src/Normalizer/{VariableJsonldReadNormalizer.php => VariableJsonldVariableViewEnvironmentViewNormalizer.php} (61%) rename src/Normalizer/{VariableReadNormalizer.php => VariableVariableViewEnvironmentViewNormalizer.php} (69%) delete mode 100644 src/Normalizer/WorkflowCompileWorkflowCommandJsonldReadNormalizer.php rename src/Normalizer/{PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php => WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php} (71%) rename src/Normalizer/{PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php => WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php} (71%) rename src/Normalizer/{WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php => WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php} (70%) rename src/Normalizer/{WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php => WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php} (69%) rename src/Normalizer/{WorkflowJobActionNormalizer.php => WorkflowJobActionActionReadNormalizer.php} (70%) rename src/Normalizer/{WorkflowJobActionReadNormalizer.php => WorkflowJobActionJobReadNormalizer.php} (53%) rename src/Normalizer/{WorkflowJobActionJsonldNormalizer.php => WorkflowJobActionJsonldActionReadNormalizer.php} (66%) rename src/Normalizer/{WorkflowJobActionJsonldReadNormalizer.php => WorkflowJobActionJsonldJobReadNormalizer.php} (52%) rename src/Normalizer/{PipelineAppendPipelineStepCommandInputJsonldNormalizer.php => WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php} (68%) rename src/Normalizer/{PipelineReplacePipelineStepCommandInputNormalizer.php => WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php} (73%) create mode 100644 src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php rename src/Normalizer/{PipelineReplacePipelineStepCommandInputJsonldNormalizer.php => WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php} (68%) rename src/Normalizer/{PipelineAddAfterPipelineStepCommandInputNormalizer.php => WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php} (73%) create mode 100644 src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php rename src/Normalizer/{PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php => WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php} (68%) rename src/Normalizer/{PipelineAppendPipelineStepCommandInputNormalizer.php => WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php} (73%) rename src/Normalizer/{PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php => WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php} (70%) create mode 100644 src/Normalizer/WorkflowJobJobReadNormalizer.php create mode 100644 src/Normalizer/WorkflowJobJsonldJobReadNormalizer.php delete mode 100644 src/Normalizer/WorkflowJobJsonldReadNormalizer.php rename src/Normalizer/{PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php => WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php} (65%) rename src/Normalizer/{PipelineMoveAfterPipelineStepCommandInputNormalizer.php => WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php} (71%) create mode 100644 src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandJsonldJobReadNormalizer.php rename src/Normalizer/{PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php => WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php} (65%) rename src/Normalizer/{PipelineMoveBeforePipelineStepCommandInputNormalizer.php => WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php} (71%) create mode 100644 src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandJsonldJobReadNormalizer.php rename src/Normalizer/{WorkflowJobPipelineReadNormalizer.php => WorkflowJobPipelineJobReadNormalizer.php} (54%) rename src/Normalizer/{WorkflowJobPipelineJsonldReadNormalizer.php => WorkflowJobPipelineJsonldJobReadNormalizer.php} (53%) delete mode 100644 src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php rename src/Normalizer/{ActionJsonldReadNormalizer.php => WorkflowJobPipelineJsonldPipelineReadNormalizer.php} (57%) rename src/Normalizer/{ActionReadNormalizer.php => WorkflowJobPipelinePipelineReadNormalizer.php} (60%) delete mode 100644 src/Normalizer/WorkflowJobReadNormalizer.php rename src/Normalizer/{PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php => WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php} (68%) rename src/Normalizer/{PipelineReorderPipelineStepsCommandInputNormalizer.php => WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php} (76%) create mode 100644 src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandJsonldJobReadNormalizer.php rename src/Normalizer/{PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php => WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php} (68%) rename src/Normalizer/{PipelineAddBeforePipelineStepCommandInputNormalizer.php => WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php} (73%) create mode 100644 src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandJsonldJobReadNormalizer.php rename src/Normalizer/{PipelineJsonldReadNormalizer.php => WorkflowJsonldWorkflowReadNormalizer.php} (55%) rename src/Normalizer/{WorkflowRemoveWorkflowCommandJsonldReadNormalizer.php => WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php} (70%) rename src/Normalizer/{PipelineReadNormalizer.php => WorkflowWorkflowReadNormalizer.php} (56%) rename src/Normalizer/{WorkspaceJsonldNormalizer.php => WorkspaceJsonldWorkspaceReadNormalizer.php} (52%) rename src/Normalizer/{PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php => WorkspaceJsonldWorkspaceWriteNormalizer.php} (62%) rename src/Normalizer/{WorkspaceNormalizer.php => WorkspaceWorkspaceReadNormalizer.php} (54%) rename src/Normalizer/{PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php => WorkspaceWorkspaceWriteNormalizer.php} (68%) 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/JWTAuthentication.php similarity index 70% rename from src/Authentication/ApiKeyAuthentication.php rename to src/Authentication/JWTAuthentication.php index fb29ca6b..7b22add6 100644 --- a/src/Authentication/ApiKeyAuthentication.php +++ b/src/Authentication/JWTAuthentication.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Authentication; -class ApiKeyAuthentication implements \Jane\Component\OpenApiRuntime\Client\AuthenticationPlugin +class JWTAuthentication implements \Jane\Component\OpenApiRuntime\Client\AuthenticationPlugin { private $apiKey; @@ -28,6 +22,6 @@ public function authentication(\Psr\Http\Message\RequestInterface $request): \Ps public function getScope(): string { - return 'apiKey'; + 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/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/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php similarity index 74% rename from src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php rename to src/Endpoint/ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php index 30e404fa..af5da9d9 100644 --- a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsEnvironmentGetSubresourceExecutionSubresource.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiExecutionsOwnerGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiExecutionsEnvironmentGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/environment'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentView|\Gyroscops\Api\Model\EnvironmentEnvironmentView * * @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\\EnvironmentJsonldEnvironmentView', '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\\EnvironmentEnvironmentView', '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/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/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsScheduleGetSubresourceExecutionSubresource.php similarity index 73% rename from src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php rename to src/Endpoint/ApiExecutionsScheduleGetSubresourceExecutionSubresource.php index 68e91bf0..e8d1b884 100644 --- a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsScheduleGetSubresourceExecutionSubresource.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiExecutionsWorkspaceGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiExecutionsScheduleGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/schedule'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\ScheduleJsonldScheduleRead|\Gyroscops\Api\Model\ScheduleScheduleRead * * @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\\ScheduleJsonldScheduleRead', '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\\ScheduleScheduleRead', '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/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/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/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/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/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php b/src/Endpoint/ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php similarity index 67% rename from src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php rename to src/Endpoint/ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php index 57d0944f..288dbd34 100644 --- a/src/Endpoint/ApiCompilationsWorkspaceGetSubresourceCompilationSubresource.php +++ b/src/Endpoint/ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource.php @@ -2,24 +2,18 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiCompilationsWorkspaceGetSubresourceCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUserAuthorizationsOrganizationGetSubresourceUserAuthorizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Compilation resource. + * Retrieves a UserAuthorization resource. * - * @param string $id Compilation identifier + * @param string $id UserAuthorization identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, array $accept = []) @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/compilations/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorizations/{id}/organization'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @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\\WorkspaceJsonld', '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\\Workspace', '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/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php b/src/Endpoint/ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php similarity index 72% rename from src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php rename to src/Endpoint/ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php index 8912f902..0c0934d0 100644 --- a/src/Endpoint/ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource.php +++ b/src/Endpoint/ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource.php @@ -2,28 +2,22 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiEnvironmentsVariablesGetSubresourceEnvironmentSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUsersAdditionalOrganizationsGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Environment resource. + * Retrieves a User resource. * - * @param string $id Environment identifier + * @param string $id User 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 */ @@ -41,7 +35,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/environment/environments/{id}/variables'); + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/additional-organizations'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200|\Gyroscops\Api\Model\VariableRead[] + * @return \Gyroscops\Api\Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200|\Gyroscops\Api\Model\OrganizationOrganizationRead[] * * @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) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200', 'json'); } - if (mb_strpos($contentType, 'application/json') !== false) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableRead[]', '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); @@ -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/ApiUsersAuthorizationsGetSubresourceUserSubresource.php similarity index 70% rename from src/Endpoint/ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource.php rename to src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php index a88d39c0..bde8c5c8 100644 --- a/src/Endpoint/ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php @@ -2,28 +2,22 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiWorkflowsCompilationsGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUsersAuthorizationsGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Workflow resource. + * Retrieves a User resource. * - * @param string $id Workflow identifier + * @param string $id User 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 */ @@ -41,7 +35,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/workflows/{id}/compilations'); + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/authorizations'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -70,9 +64,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200|\Gyroscops\Api\Model\Compilation[] + * @return \Gyroscops\Api\Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200|\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) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200', '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\\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/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php similarity index 68% rename from src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php rename to src/Endpoint/ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php index d3eb22af..c2a130ba 100644 --- a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiUsersCurrentOrganizationGetSubresourceUserSubresource.php @@ -2,24 +2,18 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiPipelinesOwnerGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUsersCurrentOrganizationGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Pipeline resource. + * Retrieves a User resource. * - * @param string $id Pipeline identifier + * @param string $id User identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, array $accept = []) @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/current-organization'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @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\\UserJsonld', '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\\User', '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/ApiCompilationsUserGetSubresourceCompilationSubresource.php b/src/Endpoint/ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php similarity index 68% rename from src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php rename to src/Endpoint/ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php index 3e0570bf..49ecac82 100644 --- a/src/Endpoint/ApiCompilationsUserGetSubresourceCompilationSubresource.php +++ b/src/Endpoint/ApiUsersCurrentWorkspaceGetSubresourceUserSubresource.php @@ -2,24 +2,18 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiCompilationsUserGetSubresourceCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUsersCurrentWorkspaceGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Compilation resource. + * Retrieves a User resource. * - * @param string $id Compilation identifier + * @param string $id User identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, array $accept = []) @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/compilations/{id}/user'); + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/current-workspace'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User + * @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\\UserJsonld', '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\\User', '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/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiUsersOrganizationGetSubresourceUserSubresource.php similarity index 67% rename from src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php rename to src/Endpoint/ApiUsersOrganizationGetSubresourceUserSubresource.php index 4d65e7d9..08e47e02 100644 --- a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiUsersOrganizationGetSubresourceUserSubresource.php @@ -2,24 +2,18 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiPipelinesWorkspaceGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUsersOrganizationGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Pipeline resource. + * Retrieves a User resource. * - * @param string $id Pipeline identifier + * @param string $id User identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, array $accept = []) @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/pipelines/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/organization'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,9 +47,7 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace + * @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\\WorkspaceJsonld', '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\\Workspace', '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/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiUsersWorkspacesGetSubresourceUserSubresource.php similarity index 61% rename from src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php rename to src/Endpoint/ApiUsersWorkspacesGetSubresourceUserSubresource.php index 28d327f3..b5c40fc8 100644 --- a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiUsersWorkspacesGetSubresourceUserSubresource.php @@ -2,37 +2,30 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiUsersWorkspacesGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; - protected $workflow; protected $accept; /** - * Retrieves a Execution resource. + * Retrieves a User resource. * - * @param string $id Execution identifier - * @param string $workflow ExecutionWorkflow identifier + * @param string $id User 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 */ - public function __construct(string $id, string $workflow, array $queryParameters = [], array $accept = []) + public function __construct(string $id, array $queryParameters = [], array $accept = []) { $this->id = $id; - $this->workflow = $workflow; $this->queryParameters = $queryParameters; $this->accept = $accept; } @@ -44,7 +37,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/executions/{id}/workflows/jobs'); + return str_replace(['{id}'], [$this->id], '/authentication/users/{id}/workspaces'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -64,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\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\AuthenticationUsersIdWorkspacesGetLdjsonResponse200|\Gyroscops\Api\Model\WorkspaceWorkspaceRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -84,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) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200', '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\\WorkspaceWorkspaceRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -96,6 +89,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + 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/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/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/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php similarity index 71% rename from src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php rename to src/Endpoint/ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php index 6fbd4555..aee6a95a 100644 --- a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource.php @@ -2,24 +2,18 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiExecutionsOrganizationGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class ApiWorkspacesOrganizationGetSubresourceWorkspaceSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Execution resource. + * Retrieves a Workspace resource. * - * @param string $id Execution identifier + * @param string $id Workspace identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, array $accept = []) @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/executions/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/authentication/workspaces/{id}/organization'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -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/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/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php b/src/Endpoint/GetTemplateItem.php similarity index 65% rename from src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php rename to src/Endpoint/GetTemplateItem.php index 5eb97bbd..f95e0bfe 100644 --- a/src/Endpoint/ApiCompilationsOrganizationGetSubresourceCompilationSubresource.php +++ b/src/Endpoint/GetTemplateItem.php @@ -2,24 +2,18 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiCompilationsOrganizationGetSubresourceCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetTemplateItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $accept; /** - * Retrieves a Compilation resource. + * Retrieves a Template resource. * - * @param string $id Compilation identifier + * @param string $id Resource identifier * @param array $accept Accept content header application/ld+json|application/json|text/html */ public function __construct(string $id, array $accept = []) @@ -35,7 +29,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/compilations/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/templates/{id}'); } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -53,10 +47,9 @@ public function getExtraHeaders(): array } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization + * @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) @@ -64,18 +57,21 @@ 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\\TemplateJsonldTemplateView', '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\\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 ['apiKey']; + 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/ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php b/src/Endpoint/GetWorkflowJobActionCollection.php similarity index 64% rename from src/Endpoint/ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php rename to src/Endpoint/GetWorkflowJobActionCollection.php index 59482ead..119db7b4 100644 --- a/src/Endpoint/ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/GetWorkflowJobActionCollection.php @@ -2,34 +2,25 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Endpoint; -class ApiWorkflowsSchedulesGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint +class GetWorkflowJobActionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; - protected $id; protected $accept; /** - * Retrieves a Workflow resource. + * Retrieves the collection of WorkflowJobAction 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 array $accept Accept content header application/ld+json|application/json|text/html */ - public function __construct(string $id, array $queryParameters = [], array $accept = []) + public function __construct(array $queryParameters = [], array $accept = []) { - $this->id = $id; $this->queryParameters = $queryParameters; $this->accept = $accept; } @@ -41,7 +32,7 @@ public function getMethod(): string public function getUri(): string { - return str_replace(['{id}'], [$this->id], '/runtime/workflows/{id}/schedules'); + return '/runtime/workflows/actions'; } public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array @@ -70,9 +61,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * {@inheritdoc} - * - * @return \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200|null + * @return \Gyroscops\Api\Model\RuntimeWorkflowsActionsGetLdjsonResponse200|\Gyroscops\Api\Model\WorkflowJobActionActionRead[] * * @throws \Gyroscops\Api\Exception\UnexpectedStatusCodeException */ @@ -81,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) { - return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200', 'json'); + if (false !== mb_strpos($contentType, 'application/ld+json')) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200', '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\\WorkflowJobActionActionRead[]', 'json'); } } throw new \Gyroscops\Api\Exception\UnexpectedStatusCodeException($status, $body); @@ -93,6 +82,6 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re public function getAuthenticationScopes(): array { - return ['apiKey']; + 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/PipelineStepRead.php b/src/Model/AbstractPipelineJobRead.php similarity index 61% rename from src/Model/PipelineStepRead.php rename to src/Model/AbstractPipelineJobRead.php index ddbf6e6f..2328480e 100644 --- a/src/Model/PipelineStepRead.php +++ b/src/Model/AbstractPipelineJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineStepRead extends \ArrayObject +class AbstractPipelineJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineStepRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -30,9 +24,9 @@ public function isInitialized($property): bool */ protected $label; /** - * @var string[]|null + * @var PipelineStepJobRead[]|null */ - protected $configuration; + protected $steps; public function getCode(): ?string { @@ -61,20 +55,20 @@ public function setLabel(?string $label): self } /** - * @return string[]|null + * @return PipelineStepJobRead[]|null */ - public function getConfiguration(): ?array + public function getSteps(): ?array { - return $this->configuration; + return $this->steps; } /** - * @param string[]|null $configuration + * @param PipelineStepJobRead[]|null $steps */ - public function setConfiguration(?array $configuration): self + public function setSteps(?array $steps): self { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; + $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/TraversableJsonld.php b/src/Model/AbstractPipelineJsonldExecutionPipelineStepRead.php similarity index 79% rename from src/Model/TraversableJsonld.php rename to src/Model/AbstractPipelineJsonldExecutionPipelineStepRead.php index cae043cc..9b5f6846 100644 --- a/src/Model/TraversableJsonld.php +++ b/src/Model/AbstractPipelineJsonldExecutionPipelineStepRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class TraversableJsonld extends \ArrayObject +class AbstractPipelineJsonldExecutionPipelineStepRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class TraversableJsonld 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/PipelineStepJsonldRead.php b/src/Model/AbstractPipelineJsonldJobRead.php similarity index 73% rename from src/Model/PipelineStepJsonldRead.php rename to src/Model/AbstractPipelineJsonldJobRead.php index 7653c188..872e8c8a 100644 --- a/src/Model/PipelineStepJsonldRead.php +++ b/src/Model/AbstractPipelineJsonldJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineStepJsonldRead extends \ArrayObject +class AbstractPipelineJsonldJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineStepJsonldRead 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,21 +36,15 @@ public function isInitialized($property): bool */ protected $label; /** - * @var string[]|null + * @var PipelineStepJsonldJobRead[]|null */ - protected $configuration; + protected $steps; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -118,20 +106,20 @@ public function setLabel(?string $label): self } /** - * @return string[]|null + * @return PipelineStepJsonldJobRead[]|null */ - public function getConfiguration(): ?array + public function getSteps(): ?array { - return $this->configuration; + return $this->steps; } /** - * @param string[]|null $configuration + * @param PipelineStepJsonldJobRead[]|null $steps */ - public function setConfiguration(?array $configuration): self + public function setSteps(?array $steps): self { - $this->initialized['configuration'] = true; - $this->configuration = $configuration; + $this->initialized['steps'] = true; + $this->steps = $steps; return $this; } diff --git a/src/Model/OpaqueInterfaceJsonld.php b/src/Model/AbstractPipelineJsonldStepRead.php similarity index 79% rename from src/Model/OpaqueInterfaceJsonld.php rename to src/Model/AbstractPipelineJsonldStepRead.php index 27694e68..f6ceb6e9 100644 --- a/src/Model/OpaqueInterfaceJsonld.php +++ b/src/Model/AbstractPipelineJsonldStepRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class OpaqueInterfaceJsonld extends \ArrayObject +class AbstractPipelineJsonldStepRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class OpaqueInterfaceJsonld 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/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/ActionRead.php b/src/Model/ActionActionRead.php similarity index 89% rename from src/Model/ActionRead.php rename to src/Model/ActionActionRead.php index 441c41c6..7eff98ad 100644 --- a/src/Model/ActionRead.php +++ b/src/Model/ActionActionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ActionRead extends \ArrayObject +class ActionActionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ActionRead 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/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/ActionJsonldRead.php b/src/Model/ActionJsonldActionRead.php similarity index 89% rename from src/Model/ActionJsonldRead.php rename to src/Model/ActionJsonldActionRead.php index 1bee711d..e4f0ffa0 100644 --- a/src/Model/ActionJsonldRead.php +++ b/src/Model/ActionJsonldActionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ActionJsonldRead extends \ArrayObject +class ActionJsonldActionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ActionJsonldRead 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/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/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php similarity index 76% rename from src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php rename to src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php index 471ed91b..62851288 100644 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch extends \ArrayObject +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -34,7 +28,7 @@ public function isInitialized($property): bool */ protected $hydraVariableRepresentation; /** - * @var RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @var AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -78,7 +72,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @return AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -86,7 +80,7 @@ public function getHydraMapping(): ?array } /** - * @param RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php similarity index 85% rename from src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php rename to src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index a4a3fe9f..57428071 100644 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem 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/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php similarity index 90% rename from src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php rename to src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php index 419c6c03..bc3d952a 100644 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView extends \ArrayObject +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView 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/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php similarity index 58% rename from src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php rename to src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php index 684e19be..31b1519d 100644 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200.php +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200 extends \ArrayObject +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200 extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200 extends \ArrayObjec public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var VariableJsonldRead[]|null + * @var UserAuthorizationJsonldAuthorizationRead[]|null */ protected $hydraMember; /** @@ -30,16 +24,16 @@ public function isInitialized($property): bool */ protected $hydraTotalItems; /** - * @var EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView|null + * @var AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch|null + * @var AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return VariableJsonldRead[]|null + * @return UserAuthorizationJsonldAuthorizationRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param VariableJsonldRead[]|null $hydraMember + * @param UserAuthorizationJsonldAuthorizationRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -70,12 +64,12 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView + public function getHydraView(): ?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView { return $this->hydraView; } - public function setHydraView(?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView $hydraView): self { $this->initialized['hydraView'] = true; $this->hydraView = $hydraView; @@ -83,12 +77,12 @@ public function setHydraView(?EnvironmentEnvironmentsIdVariablesGetLdjsonRespons return $this; } - public function getHydraSearch(): ?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch $hydraSearch): self { $this->initialized['hydraSearch'] = true; $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php similarity index 77% rename from src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php rename to src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php index 83718e4c..40a4b458 100644 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch extends \ArrayObject +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch extends \A public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -34,7 +28,7 @@ public function isInitialized($property): bool */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @var AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -78,7 +72,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @return AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -86,7 +80,7 @@ public function getHydraMapping(): ?array } /** - * @param RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php similarity index 85% rename from src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php rename to src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php index c555b690..aafbe250 100644 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingI 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/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php similarity index 90% rename from src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php rename to src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php index 9326b847..8249bfc9 100644 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView extends \ArrayObject +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView 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/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php similarity index 60% rename from src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php rename to src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php index a8f6c32a..6aed69a5 100644 --- a/src/Model/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200.php +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200 extends \ArrayObject +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200 extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200 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 WorkspaceJsonldWorkspaceRead[]|null */ protected $hydraMember; /** @@ -30,16 +24,16 @@ public function isInitialized($property): bool */ protected $hydraTotalItems; /** - * @var RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView|null + * @var AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch|null + * @var AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ScheduleJsonld[]|null + * @return WorkspaceJsonldWorkspaceRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ScheduleJsonld[]|null $hydraMember + * @param WorkspaceJsonldWorkspaceRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -70,12 +64,12 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView + public function getHydraView(): ?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView { return $this->hydraView; } - public function setHydraView(?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView $hydraView): self { $this->initialized['hydraView'] = true; $this->hydraView = $hydraView; @@ -83,12 +77,12 @@ public function setHydraView(?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Hyd return $this; } - public function getHydraSearch(): ?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch $hydraSearch): self { $this->initialized['hydraSearch'] = true; $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php similarity index 76% rename from src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php rename to src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php index a6a67933..1319faa7 100644 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch extends \ArrayObject +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch extends public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -34,7 +28,7 @@ public function isInitialized($property): bool */ protected $hydraVariableRepresentation; /** - * @var EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @var AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -78,7 +72,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @return AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -86,7 +80,7 @@ public function getHydraMapping(): ?array } /** - * @param EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php similarity index 85% rename from src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php rename to src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php index 30de5694..1255571c 100644 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappin 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/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php similarity index 90% rename from src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php rename to src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php index dbafaab2..205188ee 100644 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView.php +++ b/src/Model/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView extends \ArrayObject +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView 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/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/PriceJsonldRead.php b/src/Model/BuyablePriceJsonld.php similarity index 62% rename from src/Model/PriceJsonldRead.php rename to src/Model/BuyablePriceJsonld.php index 411fa64b..dd28e28b 100644 --- a/src/Model/PriceJsonldRead.php +++ b/src/Model/BuyablePriceJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PriceJsonldRead extends \ArrayObject +class BuyablePriceJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PriceJsonldRead 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,29 +28,27 @@ public function isInitialized($property): bool */ protected $type; /** - * @var SubscriptionTypeJsonldRead|null + * @var string|null */ - protected $type2; + protected $id2; /** - * @var string|null + * @var BuyableJsonld|null */ - protected $amount; + protected $buyable; /** - * @var string|null + * @var SubscriptionTypeJsonld|null */ - protected $currency; - + protected $type2; /** - * @return mixed + * @var PriceJsonld|null */ + protected $amount; + public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -91,41 +83,54 @@ public function setType(?string $type): self return $this; } - public function getType2(): ?SubscriptionTypeJsonldRead + public function getId2(): ?string { - return $this->type2; + return $this->id2; } - public function setType2(?SubscriptionTypeJsonldRead $type2): self + public function setId2(?string $id2): self { - $this->initialized['type2'] = true; - $this->type2 = $type2; + $this->initialized['id2'] = true; + $this->id2 = $id2; return $this; } - public function getAmount(): ?string + public function getBuyable(): ?BuyableJsonld { - return $this->amount; + return $this->buyable; } - public function setAmount(?string $amount): self + public function setBuyable(?BuyableJsonld $buyable): self { - $this->initialized['amount'] = true; - $this->amount = $amount; + $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 getCurrency(): ?string + public function getAmount(): ?PriceJsonld { - return $this->currency; + return $this->amount; } - public function setCurrency(?string $currency): self + public function setAmount(?PriceJsonld $amount): self { - $this->initialized['currency'] = true; - $this->currency = $currency; + $this->initialized['amount'] = true; + $this->amount = $amount; return $this; } diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php b/src/Model/BuyablePriceJsonldRead.php similarity index 70% rename from src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php rename to src/Model/BuyablePriceJsonldRead.php index b970ff36..17aa9fb5 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php +++ b/src/Model/BuyablePriceJsonldRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionInterruptPipelineExecutionCommandJsonldRead extends \ArrayObject +class BuyablePriceJsonldRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionInterruptPipelineExecutionCommandJsonldRead 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,16 @@ public function isInitialized($property): bool * @var string|null */ protected $type; - /** - * @return mixed + * @var SubscriptionTypeJsonldRead|null */ + protected $type2; + public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -78,4 +70,17 @@ public function setType(?string $type): self 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/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/Compilation.php b/src/Model/CompilationJsonldCompilationRead.php similarity index 68% rename from src/Model/Compilation.php rename to src/Model/CompilationJsonldCompilationRead.php index 1a27fc2c..70e04110 100644 --- a/src/Model/Compilation.php +++ b/src/Model/CompilationJsonldCompilationRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class Compilation extends \ArrayObject +class CompilationJsonldCompilationRead extends \ArrayObject { /** * @var array @@ -19,40 +13,40 @@ class Compilation 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 int|null + * @var string|null */ - protected $currentVersion; + protected $type; /** - * @var \DateTime|null + * @var mixed|null */ - protected $createdAt; + protected $context; /** * @var string|null */ - protected $workflow; + protected $id2; /** - * @var string|null + * @var int|null */ - protected $pipeline; + protected $currentVersion; /** - * @var string|null + * @var \DateTime|null */ - protected $workspace; + protected $createdAt; /** * @var string|null */ - protected $organization; + protected $workflow; /** * @var string|null */ - protected $owner; + protected $pipeline; public function getId(): ?string { @@ -67,93 +61,93 @@ public function setId(?string $id): self return $this; } - public function getCurrentVersion(): ?int + public function getType(): ?string { - return $this->currentVersion; + return $this->type; } - public function setCurrentVersion(?int $currentVersion): self + public function setType(?string $type): self { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; + $this->initialized['type'] = true; + $this->type = $type; return $this; } - public function getCreatedAt(): ?\DateTime + public function getContext() { - return $this->createdAt; + return $this->context; } - public function setCreatedAt(?\DateTime $createdAt): self + public function setContext($context): self { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; + $this->initialized['context'] = true; + $this->context = $context; return $this; } - public function getWorkflow(): ?string + public function getId2(): ?string { - return $this->workflow; + return $this->id2; } - public function setWorkflow(?string $workflow): self + public function setId2(?string $id2): self { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; + $this->initialized['id2'] = true; + $this->id2 = $id2; return $this; } - public function getPipeline(): ?string + public function getCurrentVersion(): ?int { - return $this->pipeline; + return $this->currentVersion; } - public function setPipeline(?string $pipeline): self + public function setCurrentVersion(?int $currentVersion): self { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; return $this; } - public function getWorkspace(): ?string + public function getCreatedAt(): ?\DateTime { - return $this->workspace; + return $this->createdAt; } - public function setWorkspace(?string $workspace): self + public function setCreatedAt(?\DateTime $createdAt): self { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; return $this; } - public function getOrganization(): ?string + public function getWorkflow(): ?string { - return $this->organization; + return $this->workflow; } - public function setOrganization(?string $organization): self + public function setWorkflow(?string $workflow): self { - $this->initialized['organization'] = true; - $this->organization = $organization; + $this->initialized['workflow'] = true; + $this->workflow = $workflow; return $this; } - public function getOwner(): ?string + public function getPipeline(): ?string { - return $this->owner; + return $this->pipeline; } - public function setOwner(?string $owner): self + public function setPipeline(?string $pipeline): self { - $this->initialized['owner'] = true; - $this->owner = $owner; + $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/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/SecretChangeSecretValueInputJsonld.php b/src/Model/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php similarity index 76% rename from src/Model/SecretChangeSecretValueInputJsonld.php rename to src/Model/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php index 49201b51..16e2d763 100644 --- a/src/Model/SecretChangeSecretValueInputJsonld.php +++ b/src/Model/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretChangeSecretValueInputJsonld extends \ArrayObject +class ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretChangeSecretValueInputJsonld 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,21 +28,15 @@ public function isInitialized($property): bool */ protected $type; /** - * @var OpaqueInterfaceJsonld[]|null + * @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; @@ -84,7 +72,7 @@ public function setType(?string $type): self } /** - * @return OpaqueInterfaceJsonld[]|null + * @return string[]|null */ public function getContents(): ?iterable { @@ -92,7 +80,7 @@ public function getContents(): ?iterable } /** - * @param OpaqueInterfaceJsonld[]|null $contents + * @param string[]|null $contents */ public function setContents(?iterable $contents): self { diff --git a/src/Model/SecretEdit.php b/src/Model/ConfigurationConfigurationUpdate.php similarity index 82% rename from src/Model/SecretEdit.php rename to src/Model/ConfigurationConfigurationUpdate.php index 1c7f98b6..b22dd73e 100644 --- a/src/Model/SecretEdit.php +++ b/src/Model/ConfigurationConfigurationUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretEdit extends \ArrayObject +class ConfigurationConfigurationUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretEdit 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/Secret.php b/src/Model/ConfigurationConfigurationView.php similarity index 93% rename from src/Model/Secret.php rename to src/Model/ConfigurationConfigurationView.php index 8a41ba4e..3756d8b1 100644 --- a/src/Model/Secret.php +++ b/src/Model/ConfigurationConfigurationView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class Secret extends \ArrayObject +class ConfigurationConfigurationView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class Secret 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/SecretCreateSecretInput.php b/src/Model/ConfigurationCreateConfigurationInputConfigurationCreate.php similarity index 86% rename from src/Model/SecretCreateSecretInput.php rename to src/Model/ConfigurationCreateConfigurationInputConfigurationCreate.php index 27b4bc41..00f7674a 100644 --- a/src/Model/SecretCreateSecretInput.php +++ b/src/Model/ConfigurationCreateConfigurationInputConfigurationCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretCreateSecretInput extends \ArrayObject +class ConfigurationCreateConfigurationInputConfigurationCreate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretCreateSecretInput 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/SecretCreateSecretInputJsonld.php b/src/Model/ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php similarity index 88% rename from src/Model/SecretCreateSecretInputJsonld.php rename to src/Model/ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php index 73384d75..92487dbb 100644 --- a/src/Model/SecretCreateSecretInputJsonld.php +++ b/src/Model/ConfigurationCreateConfigurationInputJsonldConfigurationCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretCreateSecretInputJsonld extends \ArrayObject +class ConfigurationCreateConfigurationInputJsonldConfigurationCreate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretCreateSecretInputJsonld 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/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/SecretJsonldEdit.php b/src/Model/ConfigurationJsonldConfigurationUpdate.php similarity index 86% rename from src/Model/SecretJsonldEdit.php rename to src/Model/ConfigurationJsonldConfigurationUpdate.php index d42bb0ed..4b4b8738 100644 --- a/src/Model/SecretJsonldEdit.php +++ b/src/Model/ConfigurationJsonldConfigurationUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretJsonldEdit extends \ArrayObject +class ConfigurationJsonldConfigurationUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretJsonldEdit 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 $description; - /** - * @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/SecretJsonld.php b/src/Model/ConfigurationJsonldConfigurationView.php similarity index 92% rename from src/Model/SecretJsonld.php rename to src/Model/ConfigurationJsonldConfigurationView.php index 2b6b08c8..5ef745c1 100644 --- a/src/Model/SecretJsonld.php +++ b/src/Model/ConfigurationJsonldConfigurationView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretJsonld extends \ArrayObject +class ConfigurationJsonldConfigurationView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretJsonld 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,17 +56,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/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/SecretRemoveSecretValueInput.php b/src/Model/ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php similarity index 75% rename from src/Model/SecretRemoveSecretValueInput.php rename to src/Model/ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php index 6df8fffb..c9f31f5f 100644 --- a/src/Model/SecretRemoveSecretValueInput.php +++ b/src/Model/ConfigurationRemoveConfigurationValueInputConfigurationUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretRemoveSecretValueInput extends \ArrayObject +class ConfigurationRemoveConfigurationValueInputConfigurationUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretRemoveSecretValueInput 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/SecretRemoveSecretValueInputJsonld.php b/src/Model/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php similarity index 83% rename from src/Model/SecretRemoveSecretValueInputJsonld.php rename to src/Model/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php index 355694b0..5c871c7b 100644 --- a/src/Model/SecretRemoveSecretValueInputJsonld.php +++ b/src/Model/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretRemoveSecretValueInputJsonld extends \ArrayObject +class ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretRemoveSecretValueInputJsonld 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 $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/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/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php similarity index 58% rename from src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php rename to src/Model/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php index dcf3c1f8..e5556706 100644 --- a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInput.php +++ b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentAddMultipleVariableFromConfigurationInput extends \ArrayObject +class EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,15 +13,15 @@ class EnvironmentAddMultipleVariableFromConfigurationInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var VariableFromConfigurationInput[]|null + * @var VariableFromConfigurationInputEnvironmentUpdate[]|null */ protected $variables; /** - * @return VariableFromConfigurationInput[]|null + * @return VariableFromConfigurationInputEnvironmentUpdate[]|null */ public function getVariables(): ?array { @@ -35,7 +29,7 @@ public function getVariables(): ?array } /** - * @param VariableFromConfigurationInput[]|null $variables + * @param VariableFromConfigurationInputEnvironmentUpdate[]|null $variables */ public function setVariables(?array $variables): self { diff --git a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php similarity index 77% rename from src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php rename to src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php index 37f03948..593717ca 100644 --- a/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonld.php +++ b/src/Model/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentAddMultipleVariableFromConfigurationInputJsonld extends \ArrayObject +class EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentAddMultipleVariableFromConfigurationInputJsonld 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,21 +28,15 @@ public function isInitialized($property): bool */ protected $type; /** - * @var VariableFromConfigurationInputJsonld[]|null + * @var VariableFromConfigurationInputJsonldEnvironmentUpdate[]|null */ protected $variables; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -84,7 +72,7 @@ public function setType(?string $type): self } /** - * @return VariableFromConfigurationInputJsonld[]|null + * @return VariableFromConfigurationInputJsonldEnvironmentUpdate[]|null */ public function getVariables(): ?array { @@ -92,7 +80,7 @@ public function getVariables(): ?array } /** - * @param VariableFromConfigurationInputJsonld[]|null $variables + * @param VariableFromConfigurationInputJsonldEnvironmentUpdate[]|null $variables */ public function setVariables(?array $variables): self { diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php similarity index 59% rename from src/Model/EnvironmentAddMultipleVariableFromSecretInput.php rename to src/Model/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php index 668f71af..a5ef7dec 100644 --- a/src/Model/EnvironmentAddMultipleVariableFromSecretInput.php +++ b/src/Model/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentAddMultipleVariableFromSecretInput extends \ArrayObject +class EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,15 +13,15 @@ class EnvironmentAddMultipleVariableFromSecretInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var VariableFromSecretInput[]|null + * @var VariableFromConstantInputEnvironmentUpdate[]|null */ protected $variables; /** - * @return VariableFromSecretInput[]|null + * @return VariableFromConstantInputEnvironmentUpdate[]|null */ public function getVariables(): ?array { @@ -35,7 +29,7 @@ public function getVariables(): ?array } /** - * @param VariableFromSecretInput[]|null $variables + * @param VariableFromConstantInputEnvironmentUpdate[]|null $variables */ public function setVariables(?array $variables): self { diff --git a/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php similarity index 75% rename from src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php rename to src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php index 4549d19f..d96c2b04 100644 --- a/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonld.php +++ b/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentAddMultipleVariableFromSecretInputJsonld extends \ArrayObject +class EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentAddMultipleVariableFromSecretInputJsonld 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,21 +28,15 @@ public function isInitialized($property): bool */ protected $type; /** - * @var VariableFromSecretInputJsonld[]|null + * @var VariableFromConstantInputJsonldEnvironmentUpdate[]|null */ protected $variables; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -84,7 +72,7 @@ public function setType(?string $type): self } /** - * @return VariableFromSecretInputJsonld[]|null + * @return VariableFromConstantInputJsonldEnvironmentUpdate[]|null */ public function getVariables(): ?array { @@ -92,7 +80,7 @@ public function getVariables(): ?array } /** - * @param VariableFromSecretInputJsonld[]|null $variables + * @param VariableFromConstantInputJsonldEnvironmentUpdate[]|null $variables */ public function setVariables(?array $variables): self { diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php similarity index 59% rename from src/Model/EnvironmentAddMultipleVariableFromConstantInput.php rename to src/Model/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php index ab85ab87..663ac12d 100644 --- a/src/Model/EnvironmentAddMultipleVariableFromConstantInput.php +++ b/src/Model/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentAddMultipleVariableFromConstantInput extends \ArrayObject +class EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,15 +13,15 @@ class EnvironmentAddMultipleVariableFromConstantInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var VariableFromConstantInput[]|null + * @var VariableFromSecretInputEnvironmentUpdate[]|null */ protected $variables; /** - * @return VariableFromConstantInput[]|null + * @return VariableFromSecretInputEnvironmentUpdate[]|null */ public function getVariables(): ?array { @@ -35,7 +29,7 @@ public function getVariables(): ?array } /** - * @param VariableFromConstantInput[]|null $variables + * @param VariableFromSecretInputEnvironmentUpdate[]|null $variables */ public function setVariables(?array $variables): self { diff --git a/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php similarity index 74% rename from src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php rename to src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php index af4e15f1..5ce76dcb 100644 --- a/src/Model/EnvironmentAddMultipleVariableFromConstantInputJsonld.php +++ b/src/Model/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentAddMultipleVariableFromConstantInputJsonld extends \ArrayObject +class EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentAddMultipleVariableFromConstantInputJsonld 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,21 +28,15 @@ public function isInitialized($property): bool */ protected $type; /** - * @var VariableFromConstantInputJsonld[]|null + * @var VariableFromSecretInputJsonldEnvironmentUpdate[]|null */ protected $variables; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -84,7 +72,7 @@ public function setType(?string $type): self } /** - * @return VariableFromConstantInputJsonld[]|null + * @return VariableFromSecretInputJsonldEnvironmentUpdate[]|null */ public function getVariables(): ?array { @@ -92,7 +80,7 @@ public function getVariables(): ?array } /** - * @param VariableFromConstantInputJsonld[]|null $variables + * @param VariableFromSecretInputJsonldEnvironmentUpdate[]|null $variables */ public function setVariables(?array $variables): self { 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/EnvironmentCreateEnvironmentInputEnvironmentCreate.php similarity index 86% rename from src/Model/EnvironmentCreateEnvironmentInput.php rename to src/Model/EnvironmentCreateEnvironmentInputEnvironmentCreate.php index 2e38719f..777b2551 100644 --- a/src/Model/EnvironmentCreateEnvironmentInput.php +++ b/src/Model/EnvironmentCreateEnvironmentInputEnvironmentCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentCreateEnvironmentInput extends \ArrayObject +class EnvironmentCreateEnvironmentInputEnvironmentCreate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentCreateEnvironmentInput 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/EnvironmentCreateEnvironmentInputJsonld.php b/src/Model/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php similarity index 88% rename from src/Model/EnvironmentCreateEnvironmentInputJsonld.php rename to src/Model/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php index 56749375..15ac2e01 100644 --- a/src/Model/EnvironmentCreateEnvironmentInputJsonld.php +++ b/src/Model/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentCreateEnvironmentInputJsonld extends \ArrayObject +class EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentCreateEnvironmentInputJsonld 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 $variables; - /** - * @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/EnvironmentWrite.php b/src/Model/EnvironmentEnvironmentUpdate.php similarity index 81% rename from src/Model/EnvironmentWrite.php rename to src/Model/EnvironmentEnvironmentUpdate.php index 4994fb19..fa744ede 100644 --- a/src/Model/EnvironmentWrite.php +++ b/src/Model/EnvironmentEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentWrite extends \ArrayObject +class EnvironmentEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentWrite 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/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/EnvironmentJsonldWrite.php b/src/Model/EnvironmentJsonldEnvironmentUpdate.php similarity index 86% rename from src/Model/EnvironmentJsonldWrite.php rename to src/Model/EnvironmentJsonldEnvironmentUpdate.php index d0ed487e..953c2e8a 100644 --- a/src/Model/EnvironmentJsonldWrite.php +++ b/src/Model/EnvironmentJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentJsonldWrite extends \ArrayObject +class EnvironmentJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentJsonldWrite 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 $description; - /** - * @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/EnvironmentJsonldRead.php b/src/Model/EnvironmentJsonldEnvironmentView.php similarity index 70% rename from src/Model/EnvironmentJsonldRead.php rename to src/Model/EnvironmentJsonldEnvironmentView.php index 94508b3e..b042ca7c 100644 --- a/src/Model/EnvironmentJsonldRead.php +++ b/src/Model/EnvironmentJsonldEnvironmentView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentJsonldRead extends \ArrayObject +class EnvironmentJsonldEnvironmentView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentJsonldRead 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,25 +40,15 @@ public function isInitialized($property): bool */ protected $description; /** - * @var string|null - */ - protected $organization; - /** - * @var string|null + * @var string[]|null */ - protected $workspace; + protected $variables; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -138,28 +122,21 @@ public function setDescription(?string $description): self 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 string[]|null + */ + public function getVariables(): ?array { - return $this->workspace; + return $this->variables; } - public function setWorkspace(?string $workspace): self + /** + * @param string[]|null $variables + */ + public function setVariables(?array $variables): self { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; + $this->initialized['variables'] = true; + $this->variables = $variables; 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/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/ConfigurationJsonldEdit.php b/src/Model/EnvironmentVariableViewEnvironmentView.php similarity index 61% rename from src/Model/ConfigurationJsonldEdit.php rename to src/Model/EnvironmentVariableViewEnvironmentView.php index 2cafb22f..77064fca 100644 --- a/src/Model/ConfigurationJsonldEdit.php +++ b/src/Model/EnvironmentVariableViewEnvironmentView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationJsonldEdit extends \ArrayObject +class EnvironmentVariableViewEnvironmentView extends \ArrayObject { /** * @var array @@ -19,20 +13,12 @@ class ConfigurationJsonldEdit 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 */ protected $id; - /** - * @var string|null - */ - protected $type; /** * @var string|null */ @@ -41,25 +27,10 @@ public function isInitialized($property): bool * @var string|null */ protected $description; - - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - /** - * @param mixed $context + * @var VariableVariableViewEnvironmentView[]|null */ - public function setContext($context): self - { - $this->initialized['context'] = true; - $this->context = $context; - - return $this; - } + protected $variables; public function getId(): ?string { @@ -74,19 +45,6 @@ public function setId(?string $id): self 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; @@ -112,4 +70,23 @@ public function setDescription(?string $description): self 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/ExecutionAction.php b/src/Model/ExecutionActionExecutionActionRead.php similarity index 81% rename from src/Model/ExecutionAction.php rename to src/Model/ExecutionActionExecutionActionRead.php index 5ddc0585..fc0f1b4c 100644 --- a/src/Model/ExecutionAction.php +++ b/src/Model/ExecutionActionExecutionActionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionAction extends \ArrayObject +class ExecutionActionExecutionActionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionAction 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/ExecutionActionJsonld.php b/src/Model/ExecutionActionJsonldExecutionActionRead.php similarity index 86% rename from src/Model/ExecutionActionJsonld.php rename to src/Model/ExecutionActionJsonldExecutionActionRead.php index 71607d14..7fc9bc9f 100644 --- a/src/Model/ExecutionActionJsonld.php +++ b/src/Model/ExecutionActionJsonldExecutionActionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionActionJsonld extends \ArrayObject +class ExecutionActionJsonldExecutionActionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionActionJsonld 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/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/VariableFromSecretJsonldWrite.php b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php similarity index 79% rename from src/Model/VariableFromSecretJsonldWrite.php rename to src/Model/ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php index 82707dc7..75ddee20 100644 --- a/src/Model/VariableFromSecretJsonldWrite.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromSecretJsonldWrite extends \ArrayObject +class ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromSecretJsonldWrite 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/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/ExecutionRead.php b/src/Model/ExecutionExecutionRead.php similarity index 62% rename from src/Model/ExecutionRead.php rename to src/Model/ExecutionExecutionRead.php index 08afb938..e28a330d 100644 --- a/src/Model/ExecutionRead.php +++ b/src/Model/ExecutionExecutionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionRead extends \ArrayObject +class ExecutionExecutionRead extends \ArrayObject { /** * @var array @@ -19,12 +13,24 @@ class ExecutionRead 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 string|null + */ + protected $owner; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; /** * @var string|null */ @@ -73,6 +79,26 @@ public function isInitialized($property): bool * @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 { @@ -87,6 +113,45 @@ public function setId(?string $id): self 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; @@ -242,4 +307,69 @@ public function setCurrentVersion(?int $currentVersion): self 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/VariableFromConstantJsonldWrite.php b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php similarity index 79% rename from src/Model/VariableFromConstantJsonldWrite.php rename to src/Model/ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php index a2cd4add..ece28159 100644 --- a/src/Model/VariableFromConstantJsonldWrite.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConstantJsonldWrite extends \ArrayObject +class ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConstantJsonldWrite 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/ExecutionJsonldRead.php b/src/Model/ExecutionJsonldExecutionRead.php similarity index 66% rename from src/Model/ExecutionJsonldRead.php rename to src/Model/ExecutionJsonldExecutionRead.php index 8544fcdd..ad0aa15a 100644 --- a/src/Model/ExecutionJsonldRead.php +++ b/src/Model/ExecutionJsonldExecutionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionJsonldRead extends \ArrayObject +class ExecutionJsonldExecutionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -37,6 +31,18 @@ public function isInitialized($property): bool * @var string|null */ protected $id2; + /** + * @var string|null + */ + protected $owner; + /** + * @var string|null + */ + protected $workspace; + /** + * @var string|null + */ + protected $organization; /** * @var string|null */ @@ -85,6 +91,26 @@ public function isInitialized($property): bool * @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 { @@ -112,17 +138,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; @@ -144,6 +164,45 @@ public function setId2(?string $id2): self 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; @@ -299,4 +358,69 @@ public function setCurrentVersion(?int $currentVersion): self 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/ExecutionPipeline.php b/src/Model/ExecutionPipelineExecutionPipelineRead.php similarity index 86% rename from src/Model/ExecutionPipeline.php rename to src/Model/ExecutionPipelineExecutionPipelineRead.php index b1d4ca31..31d4f47f 100644 --- a/src/Model/ExecutionPipeline.php +++ b/src/Model/ExecutionPipelineExecutionPipelineRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionPipeline extends \ArrayObject +class ExecutionPipelineExecutionPipelineRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionPipeline 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/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/ExecutionPipelineJsonldExecutionPipelineRead.php similarity index 88% rename from src/Model/ExecutionPipelineJsonld.php rename to src/Model/ExecutionPipelineJsonldExecutionPipelineRead.php index 983b1845..f9546753 100644 --- a/src/Model/ExecutionPipelineJsonld.php +++ b/src/Model/ExecutionPipelineJsonldExecutionPipelineRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionPipelineJsonld extends \ArrayObject +class ExecutionPipelineJsonldExecutionPipelineRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionPipelineJsonld 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/ExecutionPipelineStep.php b/src/Model/ExecutionPipelineStepExecutionPipelineStepRead.php similarity index 75% rename from src/Model/ExecutionPipelineStep.php rename to src/Model/ExecutionPipelineStepExecutionPipelineStepRead.php index 07d71234..eb2248b8 100644 --- a/src/Model/ExecutionPipelineStep.php +++ b/src/Model/ExecutionPipelineStepExecutionPipelineStepRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionPipelineStep extends \ArrayObject +class ExecutionPipelineStepExecutionPipelineStepRead extends \ArrayObject { /** * @var array @@ -19,14 +13,14 @@ class ExecutionPipelineStep 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 AbstractPipeline|null + * @var mixed[]|null */ protected $pipeline; /** @@ -47,12 +41,18 @@ public function setId(?string $id): self return $this; } - public function getPipeline(): ?AbstractPipeline + /** + * @return mixed[]|null + */ + public function getPipeline(): ?iterable { return $this->pipeline; } - public function setPipeline(?AbstractPipeline $pipeline): self + /** + * @param mixed[]|null $pipeline + */ + public function setPipeline(?iterable $pipeline): self { $this->initialized['pipeline'] = true; $this->pipeline = $pipeline; diff --git a/src/Model/ExecutionPipelineStepJsonld.php b/src/Model/ExecutionPipelineStepJsonldExecutionPipelineStepRead.php similarity index 81% rename from src/Model/ExecutionPipelineStepJsonld.php rename to src/Model/ExecutionPipelineStepJsonldExecutionPipelineStepRead.php index f1dde189..03aa33ea 100644 --- a/src/Model/ExecutionPipelineStepJsonld.php +++ b/src/Model/ExecutionPipelineStepJsonldExecutionPipelineStepRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionPipelineStepJsonld extends \ArrayObject +class ExecutionPipelineStepJsonldExecutionPipelineStepRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionPipelineStepJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -38,7 +32,7 @@ public function isInitialized($property): bool */ protected $id2; /** - * @var AbstractPipelineJsonld|null + * @var AbstractPipelineJsonldExecutionPipelineStepRead|null */ protected $pipeline; /** @@ -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; @@ -104,12 +92,12 @@ public function setId2(?string $id2): self return $this; } - public function getPipeline(): ?AbstractPipelineJsonld + public function getPipeline(): ?AbstractPipelineJsonldExecutionPipelineStepRead { return $this->pipeline; } - public function setPipeline(?AbstractPipelineJsonld $pipeline): self + public function setPipeline(?AbstractPipelineJsonldExecutionPipelineStepRead $pipeline): self { $this->initialized['pipeline'] = true; $this->pipeline = $pipeline; 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/ExecutionWorkflowExecutionWorkflowRead.php similarity index 86% rename from src/Model/ExecutionWorkflow.php rename to src/Model/ExecutionWorkflowExecutionWorkflowRead.php index ee2cb272..6d79653f 100644 --- a/src/Model/ExecutionWorkflow.php +++ b/src/Model/ExecutionWorkflowExecutionWorkflowRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionWorkflow extends \ArrayObject +class ExecutionWorkflowExecutionWorkflowRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionWorkflow 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/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/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/ExecutionWorkflowJob.php b/src/Model/ExecutionWorkflowJobExecutionWorkflowJobRead.php similarity index 88% rename from src/Model/ExecutionWorkflowJob.php rename to src/Model/ExecutionWorkflowJobExecutionWorkflowJobRead.php index 11d1a4fc..1569e596 100644 --- a/src/Model/ExecutionWorkflowJob.php +++ b/src/Model/ExecutionWorkflowJobExecutionWorkflowJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionWorkflowJob extends \ArrayObject +class ExecutionWorkflowJobExecutionWorkflowJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionWorkflowJob 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/ExecutionWorkflowJobJsonld.php b/src/Model/ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php similarity index 89% rename from src/Model/ExecutionWorkflowJobJsonld.php rename to src/Model/ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php index e919e932..e423888a 100644 --- a/src/Model/ExecutionWorkflowJobJsonld.php +++ b/src/Model/ExecutionWorkflowJobJsonldExecutionWorkflowJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionWorkflowJobJsonld extends \ArrayObject +class ExecutionWorkflowJobJsonldExecutionWorkflowJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionWorkflowJobJsonld 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/ExecutionWorkflowJsonld.php b/src/Model/ExecutionWorkflowJsonldExecutionWorkflowRead.php similarity index 88% rename from src/Model/ExecutionWorkflowJsonld.php rename to src/Model/ExecutionWorkflowJsonldExecutionWorkflowRead.php index 72625d20..323d4aa0 100644 --- a/src/Model/ExecutionWorkflowJsonld.php +++ b/src/Model/ExecutionWorkflowJsonldExecutionWorkflowRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ExecutionWorkflowJsonld extends \ArrayObject +class ExecutionWorkflowJsonldExecutionWorkflowRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ExecutionWorkflowJsonld 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/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/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/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php similarity index 66% rename from src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php rename to src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php index 381ba17a..2e4fc987 100644 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200.php +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200 extends \ArrayObject +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200 extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200 extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var AkeneoLinkedAccountJsonld[]|null @@ -30,11 +24,11 @@ public function isInitialized($property): bool */ protected $hydraTotalItems; /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView|null + * @var GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch|null + * @var GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch|null */ protected $hydraSearch; @@ -70,12 +64,12 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView + public function getHydraView(): ?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView { return $this->hydraView; } - public function setHydraView(?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView $hydraView): self { $this->initialized['hydraView'] = true; $this->hydraView = $hydraView; @@ -83,12 +77,12 @@ public function setHydraView(?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonRes return $this; } - public function getHydraSearch(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch $hydraSearch): self { $this->initialized['hydraSearch'] = true; $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php similarity index 75% rename from src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php rename to src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php index ef8bc4b0..44da9e2b 100644 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch extends \ArrayObject +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch extends \Arr public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -34,7 +28,7 @@ public function isInitialized($property): bool */ protected $hydraVariableRepresentation; /** - * @var RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @var GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; @@ -78,7 +72,7 @@ public function setHydraVariableRepresentation(?string $hydraVariableRepresentat } /** - * @return RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null + * @return GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null */ public function getHydraMapping(): ?array { @@ -86,7 +80,7 @@ public function getHydraMapping(): ?array } /** - * @param RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping + * @param GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ public function setHydraMapping(?array $hydraMapping): self { diff --git a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php similarity index 85% rename from src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php rename to src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php index 4254acd5..3ded0673 100644 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMapp 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/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php similarity index 90% rename from src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php rename to src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php index 55c97df8..ae3c8124 100644 --- a/src/Model/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView.php +++ b/src/Model/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView extends \ArrayObject +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView 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/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/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/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/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/OrganizationJsonld.php b/src/Model/OrganizationJsonldOrganizationRead.php similarity index 94% rename from src/Model/OrganizationJsonld.php rename to src/Model/OrganizationJsonldOrganizationRead.php index 4ff1e0dc..1c17d838 100644 --- a/src/Model/OrganizationJsonld.php +++ b/src/Model/OrganizationJsonldOrganizationRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class OrganizationJsonld extends \ArrayObject +class OrganizationJsonldOrganizationRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class OrganizationJsonld 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 $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/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php b/src/Model/OrganizationJsonldOrganizationWrite.php similarity index 75% rename from src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php rename to src/Model/OrganizationJsonldOrganizationWrite.php index 64df7213..127498bb 100644 --- a/src/Model/PipelineRemovePipelineComposerRepositoryCommandInputJsonld.php +++ b/src/Model/OrganizationJsonldOrganizationWrite.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineRemovePipelineComposerRepositoryCommandInputJsonld extends \ArrayObject +class OrganizationJsonldOrganizationWrite extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineRemovePipelineComposerRepositoryCommandInputJsonld extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -37,18 +31,16 @@ public function isInitialized($property): bool * @var string|null */ protected $name; - /** - * @return mixed + * @var string|null */ + protected $stripeCode; + public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -95,4 +87,17 @@ public function setName(?string $name): self 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/Organization.php b/src/Model/OrganizationOrganizationRead.php similarity index 95% rename from src/Model/Organization.php rename to src/Model/OrganizationOrganizationRead.php index fc5037f3..138fa92b 100644 --- a/src/Model/Organization.php +++ b/src/Model/OrganizationOrganizationRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class Organization extends \ArrayObject +class OrganizationOrganizationRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class Organization 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/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/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/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/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/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/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php similarity index 79% rename from src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php rename to src/Model/PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php index a479aa74..7fcf17fc 100644 --- a/src/Model/PipelineRemovePipelineComposerRepositoryCommandJsonldRead.php +++ b/src/Model/PipelineAppendPipelineStepCommandInputJsonldPipelineWrite.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineRemovePipelineComposerRepositoryCommandJsonldRead extends \ArrayObject +class PipelineAppendPipelineStepCommandInputJsonldPipelineWrite extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineRemovePipelineComposerRepositoryCommandJsonldRead extends \ArrayOb 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/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/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/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/PipelineRead.php b/src/Model/PipelineJsonldPipelineReadPipelineSubresourceRead.php similarity index 86% rename from src/Model/PipelineRead.php rename to src/Model/PipelineJsonldPipelineReadPipelineSubresourceRead.php index 94bec2ca..0d4bf0f1 100644 --- a/src/Model/PipelineRead.php +++ b/src/Model/PipelineJsonldPipelineReadPipelineSubresourceRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineRead extends \ArrayObject +class PipelineJsonldPipelineReadPipelineSubresourceRead extends \ArrayObject { /** * @var array @@ -19,8 +13,20 @@ class PipelineRead 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 string|null + */ + protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var int|null */ @@ -49,10 +55,6 @@ public function isInitialized($property): bool * @var string[]|null */ protected $auths; - /** - * @var string|null - */ - protected $id; /** * @var string|null */ @@ -64,12 +66,47 @@ public function isInitialized($property): bool /** * @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 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; @@ -185,19 +222,6 @@ public function setAuths(?array $auths): self 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; @@ -227,32 +251,13 @@ public function setLabel(?string $label): self /** * @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 + * @param string[]|null $steps */ public function setSteps(?array $steps): self { 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/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/WorkflowRead.php b/src/Model/PipelinePipelineReadPipelineSubresourceRead.php similarity index 82% rename from src/Model/WorkflowRead.php rename to src/Model/PipelinePipelineReadPipelineSubresourceRead.php index c9d3d25b..8485295a 100644 --- a/src/Model/WorkflowRead.php +++ b/src/Model/PipelinePipelineReadPipelineSubresourceRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowRead extends \ArrayObject +class PipelinePipelineReadPipelineSubresourceRead extends \ArrayObject { /** * @var array @@ -19,24 +13,20 @@ class WorkflowRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var string|null + * @var int|null */ - protected $id; + protected $currentVersion; /** * @var bool|null */ protected $isSoftDeleted; /** - * @var string|null - */ - protected $code; - /** - * @var string|null + * @var \DateTime|null */ - protected $label; + protected $compiledAt; /** * @var string[]|null */ @@ -54,27 +44,27 @@ public function isInitialized($property): bool */ protected $auths; /** - * @var \DateTime|null + * @var string|null */ - protected $compiledAt; + protected $code; /** - * @var int|null + * @var string|null */ - protected $currentVersion; + protected $label; /** - * @var WorkflowJobRead[]|null + * @var string[]|null */ - protected $jobs; + protected $steps; - public function getId(): ?string + public function getCurrentVersion(): ?int { - return $this->id; + return $this->currentVersion; } - public function setId(?string $id): self + public function setCurrentVersion(?int $currentVersion): self { - $this->initialized['id'] = true; - $this->id = $id; + $this->initialized['currentVersion'] = true; + $this->currentVersion = $currentVersion; return $this; } @@ -92,28 +82,15 @@ public function setIsSoftDeleted(?bool $isSoftDeleted): self 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 + public function getCompiledAt(): ?\DateTime { - return $this->label; + return $this->compiledAt; } - public function setLabel(?string $label): self + public function setCompiledAt(?\DateTime $compiledAt): self { - $this->initialized['label'] = true; - $this->label = $label; + $this->initialized['compiledAt'] = true; + $this->compiledAt = $compiledAt; return $this; } @@ -194,47 +171,47 @@ public function setAuths(?array $auths): self return $this; } - public function getCompiledAt(): ?\DateTime + public function getCode(): ?string { - return $this->compiledAt; + return $this->code; } - public function setCompiledAt(?\DateTime $compiledAt): self + public function setCode(?string $code): self { - $this->initialized['compiledAt'] = true; - $this->compiledAt = $compiledAt; + $this->initialized['code'] = true; + $this->code = $code; return $this; } - public function getCurrentVersion(): ?int + public function getLabel(): ?string { - return $this->currentVersion; + return $this->label; } - public function setCurrentVersion(?int $currentVersion): self + public function setLabel(?string $label): self { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; + $this->initialized['label'] = true; + $this->label = $label; return $this; } /** - * @return WorkflowJobRead[]|null + * @return string[]|null */ - public function getJobs(): ?array + public function getSteps(): ?array { - return $this->jobs; + return $this->steps; } /** - * @param WorkflowJobRead[]|null $jobs + * @param string[]|null $steps */ - public function setJobs(?array $jobs): self + public function setSteps(?array $steps): self { - $this->initialized['jobs'] = true; - $this->jobs = $jobs; + $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/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/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/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/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/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/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/PipelineStepJsonldJobRead.php similarity index 80% rename from src/Model/PipelineStepJsonld.php rename to src/Model/PipelineStepJsonldJobRead.php index 868dbd72..12da69f2 100644 --- a/src/Model/PipelineStepJsonld.php +++ b/src/Model/PipelineStepJsonldJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineStepJsonld extends \ArrayObject +class PipelineStepJsonldJobRead extends \ArrayObject { /** * @var array @@ -19,24 +13,20 @@ class PipelineStepJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var string|null + * @var mixed|null */ - protected $id; + protected $context; /** * @var string|null */ - protected $type; - /** - * @var mixed|null - */ - protected $context; + protected $id; /** * @var string|null */ - protected $id2; + protected $type; /** * @var int|null */ @@ -50,7 +40,7 @@ public function isInitialized($property): bool */ protected $label; /** - * @var AbstractPipelineJsonld|null + * @var AbstractPipelineJsonldJobRead|null */ protected $pipeline; /** @@ -62,6 +52,19 @@ public function isInitialized($property): bool */ 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; @@ -88,38 +91,6 @@ public function setType(?string $type): self return $this; } - /** - * @return mixed - */ - public function getContext() - { - return $this->context; - } - - /** - * @param mixed $context - */ - public function setContext($context): self - { - $this->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; @@ -159,12 +130,12 @@ public function setLabel(?string $label): self return $this; } - public function getPipeline(): ?AbstractPipelineJsonld + public function getPipeline(): ?AbstractPipelineJsonldJobRead { return $this->pipeline; } - public function setPipeline(?AbstractPipelineJsonld $pipeline): self + public function setPipeline(?AbstractPipelineJsonldJobRead $pipeline): self { $this->initialized['pipeline'] = true; $this->pipeline = $pipeline; 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/PipelineStepProbeJsonld.php b/src/Model/PipelineStepProbeJsonldStepProbeRead.php similarity index 79% rename from src/Model/PipelineStepProbeJsonld.php rename to src/Model/PipelineStepProbeJsonldStepProbeRead.php index 7becfcff..babf227c 100644 --- a/src/Model/PipelineStepProbeJsonld.php +++ b/src/Model/PipelineStepProbeJsonldStepProbeRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineStepProbeJsonld extends \ArrayObject +class PipelineStepProbeJsonldStepProbeRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineStepProbeJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -41,10 +35,6 @@ public function isInitialized($property): bool * @var string|null */ protected $code; - /** - * @var int|null - */ - protected $order; /** * @var string|null */ @@ -80,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; @@ -125,19 +109,6 @@ public function setCode(?string $code): self 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; diff --git a/src/Model/PipelineStepProbe.php b/src/Model/PipelineStepProbeStepProbeRead.php similarity index 73% rename from src/Model/PipelineStepProbe.php rename to src/Model/PipelineStepProbeStepProbeRead.php index 5e61f871..6c386754 100644 --- a/src/Model/PipelineStepProbe.php +++ b/src/Model/PipelineStepProbeStepProbeRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineStepProbe extends \ArrayObject +class PipelineStepProbeStepProbeRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineStepProbe extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -29,10 +23,6 @@ public function isInitialized($property): bool * @var string|null */ protected $code; - /** - * @var int|null - */ - protected $order; /** * @var string|null */ @@ -68,19 +58,6 @@ public function setCode(?string $code): self 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; diff --git a/src/Model/PipelineStep.php b/src/Model/PipelineStepStepRead.php similarity index 78% rename from src/Model/PipelineStep.php rename to src/Model/PipelineStepStepRead.php index 4ac89a28..a1c58829 100644 --- a/src/Model/PipelineStep.php +++ b/src/Model/PipelineStepStepRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineStep extends \ArrayObject +class PipelineStepStepRead extends \ArrayObject { /** * @var array @@ -19,12 +13,8 @@ class PipelineStep 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 int|null */ @@ -38,7 +28,7 @@ public function isInitialized($property): bool */ protected $label; /** - * @var AbstractPipeline|null + * @var mixed[]|null */ protected $pipeline; /** @@ -50,19 +40,6 @@ public function isInitialized($property): bool */ 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; @@ -102,12 +79,18 @@ public function setLabel(?string $label): self return $this; } - public function getPipeline(): ?AbstractPipeline + /** + * @return mixed[]|null + */ + public function getPipeline(): ?iterable { return $this->pipeline; } - public function setPipeline(?AbstractPipeline $pipeline): self + /** + * @param mixed[]|null $pipeline + */ + public function setPipeline(?iterable $pipeline): self { $this->initialized['pipeline'] = true; $this->pipeline = $pipeline; 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/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/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/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php b/src/Model/RuntimeTemplatesGetLdjsonResponse200.php similarity index 59% rename from src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php rename to src/Model/RuntimeTemplatesGetLdjsonResponse200.php index 42397fe4..4758c693 100644 --- a/src/Model/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200.php +++ b/src/Model/RuntimeTemplatesGetLdjsonResponse200.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200 extends \ArrayObject +class RuntimeTemplatesGetLdjsonResponse200 extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200 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 TemplateJsonldTemplateList[]|null */ protected $hydraMember; /** @@ -30,16 +24,16 @@ public function isInitialized($property): bool */ protected $hydraTotalItems; /** - * @var RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView|null + * @var RuntimeTemplatesGetLdjsonResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch|null + * @var RuntimeTemplatesGetLdjsonResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return CompilationJsonld[]|null + * @return TemplateJsonldTemplateList[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param CompilationJsonld[]|null $hydraMember + * @param TemplateJsonldTemplateList[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -70,12 +64,12 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView + public function getHydraView(): ?RuntimeTemplatesGetLdjsonResponse200HydraView { return $this->hydraView; } - public function setHydraView(?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeTemplatesGetLdjsonResponse200HydraView $hydraView): self { $this->initialized['hydraView'] = true; $this->hydraView = $hydraView; @@ -83,12 +77,12 @@ public function setHydraView(?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200 return $this; } - public function getHydraSearch(): ?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch + public function getHydraSearch(): ?RuntimeTemplatesGetLdjsonResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeTemplatesGetLdjsonResponse200HydraSearch $hydraSearch): self { $this->initialized['hydraSearch'] = true; $this->hydraSearch = $hydraSearch; 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/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200.php similarity index 58% rename from src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php rename to src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200.php index b5c2fd3d..c9dc4a13 100644 --- a/src/Model/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200.php +++ b/src/Model/RuntimeWorkflowsActionsGetLdjsonResponse200.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200 extends \ArrayObject +class RuntimeWorkflowsActionsGetLdjsonResponse200 extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200 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 WorkflowJobActionJsonldActionRead[]|null */ protected $hydraMember; /** @@ -30,16 +24,16 @@ public function isInitialized($property): bool */ protected $hydraTotalItems; /** - * @var RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView|null + * @var RuntimeWorkflowsActionsGetLdjsonResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch|null + * @var RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionWorkflowJobJsonld[]|null + * @return WorkflowJobActionJsonldActionRead[]|null */ public function getHydraMember(): ?array { @@ -47,7 +41,7 @@ public function getHydraMember(): ?array } /** - * @param ExecutionWorkflowJobJsonld[]|null $hydraMember + * @param WorkflowJobActionJsonldActionRead[]|null $hydraMember */ public function setHydraMember(?array $hydraMember): self { @@ -70,12 +64,12 @@ public function setHydraTotalItems(?int $hydraTotalItems): self return $this; } - public function getHydraView(): ?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView + public function getHydraView(): ?RuntimeWorkflowsActionsGetLdjsonResponse200HydraView { return $this->hydraView; } - public function setHydraView(?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeWorkflowsActionsGetLdjsonResponse200HydraView $hydraView): self { $this->initialized['hydraView'] = true; $this->hydraView = $hydraView; @@ -83,12 +77,12 @@ public function setHydraView(?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse2 return $this; } - public function getHydraSearch(): ?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch + public function getHydraSearch(): ?RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(?RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeWorkflowsActionsGetLdjsonResponse200HydraSearch $hydraSearch): self { $this->initialized['hydraSearch'] = true; $this->hydraSearch = $hydraSearch; 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/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/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/CompilationJsonld.php b/src/Model/ScheduleJsonldScheduleRead.php similarity index 52% rename from src/Model/CompilationJsonld.php rename to src/Model/ScheduleJsonldScheduleRead.php index 5722ce75..725a7d5f 100644 --- a/src/Model/CompilationJsonld.php +++ b/src/Model/ScheduleJsonldScheduleRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class CompilationJsonld extends \ArrayObject +class ScheduleJsonldScheduleRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class CompilationJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -38,33 +32,49 @@ public function isInitialized($property): bool */ protected $id2; /** - * @var int|null + * @var ScheduleTypeJsonldScheduleRead|null */ - protected $currentVersion; + protected $type2; /** * @var \DateTime|null */ - protected $createdAt; + protected $startAt; /** * @var string|null */ - protected $workflow; + protected $interval; + /** + * @var \DateTime|null + */ + protected $endAt; /** * @var string|null */ - protected $pipeline; + protected $crontab; + /** + * @var int|null + */ + protected $recurrences; + /** + * @var int|null + */ + protected $currentVersion; + /** + * @var string[]|null + */ + protected $executions; /** * @var string|null */ - protected $workspace; + protected $pipeline; /** * @var string|null */ - protected $organization; + protected $workflow; /** * @var string|null */ - protected $owner; + protected $environment; public function getId(): ?string { @@ -92,17 +102,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; @@ -124,93 +128,151 @@ public function setId2(?string $id2): self return $this; } - public function getCurrentVersion(): ?int + public function getType2(): ?ScheduleTypeJsonldScheduleRead { - return $this->currentVersion; + return $this->type2; } - public function setCurrentVersion(?int $currentVersion): self + public function setType2(?ScheduleTypeJsonldScheduleRead $type2): self { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; + $this->initialized['type2'] = true; + $this->type2 = $type2; return $this; } - public function getCreatedAt(): ?\DateTime + public function getStartAt(): ?\DateTime { - return $this->createdAt; + return $this->startAt; } - public function setCreatedAt(?\DateTime $createdAt): self + public function setStartAt(?\DateTime $startAt): self { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; + $this->initialized['startAt'] = true; + $this->startAt = $startAt; return $this; } - public function getWorkflow(): ?string + public function getInterval(): ?string { - return $this->workflow; + return $this->interval; } - public function setWorkflow(?string $workflow): self + public function setInterval(?string $interval): self { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; + $this->initialized['interval'] = true; + $this->interval = $interval; return $this; } - public function getPipeline(): ?string + public function getEndAt(): ?\DateTime { - return $this->pipeline; + return $this->endAt; } - public function setPipeline(?string $pipeline): self + public function setEndAt(?\DateTime $endAt): self { - $this->initialized['pipeline'] = true; - $this->pipeline = $pipeline; + $this->initialized['endAt'] = true; + $this->endAt = $endAt; return $this; } - public function getWorkspace(): ?string + public function getCrontab(): ?string { - return $this->workspace; + return $this->crontab; } - public function setWorkspace(?string $workspace): self + public function setCrontab(?string $crontab): self { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; + $this->initialized['crontab'] = true; + $this->crontab = $crontab; return $this; } - public function getOrganization(): ?string + public function getRecurrences(): ?int { - return $this->organization; + return $this->recurrences; } - public function setOrganization(?string $organization): self + public function setRecurrences(?int $recurrences): self { - $this->initialized['organization'] = true; - $this->organization = $organization; + $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 getOwner(): ?string + public function getEnvironment(): ?string { - return $this->owner; + return $this->environment; } - public function setOwner(?string $owner): self + public function setEnvironment(?string $environment): self { - $this->initialized['owner'] = true; - $this->owner = $owner; + $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/PipelineAddPipelineStepProbeCommandInputJsonld.php b/src/Model/SecretChangeSecretValueInputJsonldSecretUpdate.php similarity index 68% rename from src/Model/PipelineAddPipelineStepProbeCommandInputJsonld.php rename to src/Model/SecretChangeSecretValueInputJsonldSecretUpdate.php index 0993d569..90cabc69 100644 --- a/src/Model/PipelineAddPipelineStepProbeCommandInputJsonld.php +++ b/src/Model/SecretChangeSecretValueInputJsonldSecretUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAddPipelineStepProbeCommandInputJsonld extends \ArrayObject +class SecretChangeSecretValueInputJsonldSecretUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAddPipelineStepProbeCommandInputJsonld 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,21 +28,15 @@ public function isInitialized($property): bool */ protected $type; /** - * @var ProbeJsonld|null + * @var OpaqueInterfaceJsonldSecretUpdate[]|null */ - protected $probe; + protected $contents; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -83,15 +71,21 @@ public function setType(?string $type): self return $this; } - public function getProbe(): ?ProbeJsonld + /** + * @return OpaqueInterfaceJsonldSecretUpdate[]|null + */ + public function getContents(): ?iterable { - return $this->probe; + return $this->contents; } - public function setProbe(?ProbeJsonld $probe): self + /** + * @param OpaqueInterfaceJsonldSecretUpdate[]|null $contents + */ + public function setContents(?iterable $contents): self { - $this->initialized['probe'] = true; - $this->probe = $probe; + $this->initialized['contents'] = true; + $this->contents = $contents; return $this; } diff --git a/src/Model/SecretChangeSecretValueInput.php b/src/Model/SecretChangeSecretValueInputSecretUpdate.php similarity index 75% rename from src/Model/SecretChangeSecretValueInput.php rename to src/Model/SecretChangeSecretValueInputSecretUpdate.php index cf958410..7257f1e5 100644 --- a/src/Model/SecretChangeSecretValueInput.php +++ b/src/Model/SecretChangeSecretValueInputSecretUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretChangeSecretValueInput extends \ArrayObject +class SecretChangeSecretValueInputSecretUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretChangeSecretValueInput 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/ConfigurationCreateConfigurationInputJsonld.php b/src/Model/SecretCreateSecretInputJsonldSecretCreate.php similarity index 87% rename from src/Model/ConfigurationCreateConfigurationInputJsonld.php rename to src/Model/SecretCreateSecretInputJsonldSecretCreate.php index 177c5a12..6d53e9bb 100644 --- a/src/Model/ConfigurationCreateConfigurationInputJsonld.php +++ b/src/Model/SecretCreateSecretInputJsonldSecretCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationCreateConfigurationInputJsonld extends \ArrayObject +class SecretCreateSecretInputJsonldSecretCreate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ConfigurationCreateConfigurationInputJsonld 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/ConfigurationCreateConfigurationInput.php b/src/Model/SecretCreateSecretInputSecretCreate.php similarity index 85% rename from src/Model/ConfigurationCreateConfigurationInput.php rename to src/Model/SecretCreateSecretInputSecretCreate.php index 67a012c1..7e876e35 100644 --- a/src/Model/ConfigurationCreateConfigurationInput.php +++ b/src/Model/SecretCreateSecretInputSecretCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationCreateConfigurationInput extends \ArrayObject +class SecretCreateSecretInputSecretCreate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ConfigurationCreateConfigurationInput 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/ConfigurationJsonld.php b/src/Model/SecretJsonldSecretRead.php similarity index 92% rename from src/Model/ConfigurationJsonld.php rename to src/Model/SecretJsonldSecretRead.php index f92cc79d..9dc014d2 100644 --- a/src/Model/ConfigurationJsonld.php +++ b/src/Model/SecretJsonldSecretRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationJsonld extends \ArrayObject +class SecretJsonldSecretRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ConfigurationJsonld 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,17 +56,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/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/ConfigurationRemoveConfigurationValueInputJsonld.php b/src/Model/SecretRemoveSecretValueInputJsonldSecretUpdate.php similarity index 83% rename from src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php rename to src/Model/SecretRemoveSecretValueInputJsonldSecretUpdate.php index fde13002..1d78549a 100644 --- a/src/Model/ConfigurationRemoveConfigurationValueInputJsonld.php +++ b/src/Model/SecretRemoveSecretValueInputJsonldSecretUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationRemoveConfigurationValueInputJsonld extends \ArrayObject +class SecretRemoveSecretValueInputJsonldSecretUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ConfigurationRemoveConfigurationValueInputJsonld 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 $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/ConfigurationRemoveConfigurationValueInput.php b/src/Model/SecretRemoveSecretValueInputSecretUpdate.php similarity index 74% rename from src/Model/ConfigurationRemoveConfigurationValueInput.php rename to src/Model/SecretRemoveSecretValueInputSecretUpdate.php index 95cbe0f2..320259da 100644 --- a/src/Model/ConfigurationRemoveConfigurationValueInput.php +++ b/src/Model/SecretRemoveSecretValueInputSecretUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationRemoveConfigurationValueInput extends \ArrayObject +class SecretRemoveSecretValueInputSecretUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ConfigurationRemoveConfigurationValueInput 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/Configuration.php b/src/Model/SecretSecretRead.php similarity index 93% rename from src/Model/Configuration.php rename to src/Model/SecretSecretRead.php index 0700b246..2da4aa4c 100644 --- a/src/Model/Configuration.php +++ b/src/Model/SecretSecretRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class Configuration extends \ArrayObject +class SecretSecretRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class Configuration 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/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/WorkflowJobPipelineRead.php b/src/Model/TemplateDeclareSatelliteTemplateInput.php similarity index 52% rename from src/Model/WorkflowJobPipelineRead.php rename to src/Model/TemplateDeclareSatelliteTemplateInput.php index fa3741c8..b42209c1 100644 --- a/src/Model/WorkflowJobPipelineRead.php +++ b/src/Model/TemplateDeclareSatelliteTemplateInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobPipelineRead extends \ArrayObject +class TemplateDeclareSatelliteTemplateInput extends \ArrayObject { /** * @var array @@ -19,41 +13,28 @@ class WorkflowJobPipelineRead 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; + protected $code; /** * @var string|null */ - protected $code; + protected $label; /** * @var string|null */ - protected $label; + protected $description; /** * @var string[]|null */ - protected $runtime; + protected $pictograms; /** - * @var PipelineStepRead[]|null + * @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; - } + protected $template; public function getCode(): ?string { @@ -81,40 +62,53 @@ public function setLabel(?string $label): self 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 getRuntime(): ?array + public function getPictograms(): ?array { - return $this->runtime; + return $this->pictograms; } /** - * @param string[]|null $runtime + * @param string[]|null $pictograms */ - public function setRuntime(?array $runtime): self + public function setPictograms(?array $pictograms): self { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; return $this; } /** - * @return PipelineStepRead[]|null + * @return string[]|null */ - public function getSteps(): ?array + public function getTemplate(): ?array { - return $this->steps; + return $this->template; } /** - * @param PipelineStepRead[]|null $steps + * @param string[]|null $template */ - public function setSteps(?array $steps): self + public function setTemplate(?array $template): self { - $this->initialized['steps'] = true; - $this->steps = $steps; + $this->initialized['template'] = true; + $this->template = $template; return $this; } diff --git a/src/Model/WorkflowJobPipelineJsonldRead.php b/src/Model/TemplateDeclareSatelliteTemplateInputJsonld.php similarity index 64% rename from src/Model/WorkflowJobPipelineJsonldRead.php rename to src/Model/TemplateDeclareSatelliteTemplateInputJsonld.php index 0975d178..7ab2199f 100644 --- a/src/Model/WorkflowJobPipelineJsonldRead.php +++ b/src/Model/TemplateDeclareSatelliteTemplateInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobPipelineJsonldRead extends \ArrayObject +class TemplateDeclareSatelliteTemplateInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class WorkflowJobPipelineJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -36,35 +30,29 @@ public function isInitialized($property): bool /** * @var string|null */ - protected $id2; + protected $code; /** * @var string|null */ - protected $code; + protected $label; /** * @var string|null */ - protected $label; + protected $description; /** * @var string[]|null */ - protected $runtime; + protected $pictograms; /** - * @var PipelineStepJsonldRead[]|null + * @var string[]|null */ - protected $steps; + protected $template; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -99,19 +87,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 getCode(): ?string { return $this->code; @@ -138,40 +113,53 @@ public function setLabel(?string $label): self 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 getRuntime(): ?array + public function getPictograms(): ?array { - return $this->runtime; + return $this->pictograms; } /** - * @param string[]|null $runtime + * @param string[]|null $pictograms */ - public function setRuntime(?array $runtime): self + public function setPictograms(?array $pictograms): self { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; return $this; } /** - * @return PipelineStepJsonldRead[]|null + * @return string[]|null */ - public function getSteps(): ?array + public function getTemplate(): ?array { - return $this->steps; + return $this->template; } /** - * @param PipelineStepJsonldRead[]|null $steps + * @param string[]|null $template */ - public function setSteps(?array $steps): self + public function setTemplate(?array $template): self { - $this->initialized['steps'] = true; - $this->steps = $steps; + $this->initialized['template'] = true; + $this->template = $template; return $this; } diff --git a/src/Model/ConfigurationJsonldRead.php b/src/Model/TemplateJsonld.php similarity index 58% rename from src/Model/ConfigurationJsonldRead.php rename to src/Model/TemplateJsonld.php index 2d34fd57..701978db 100644 --- a/src/Model/ConfigurationJsonldRead.php +++ b/src/Model/TemplateJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class ConfigurationJsonldRead extends \ArrayObject +class TemplateJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class ConfigurationJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -36,11 +30,11 @@ public function isInitialized($property): bool /** * @var string|null */ - protected $id2; + protected $code; /** * @var string|null */ - protected $name; + protected $label; /** * @var string|null */ @@ -50,25 +44,23 @@ public function isInitialized($property): bool */ protected $organization; /** - * @var string|null + * @var string[]|null */ - protected $workspace; + protected $keywords; /** * @var string[]|null */ - protected $contents; - + protected $pictograms; /** - * @return mixed + * @var string[]|null */ + protected $template; + public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -103,28 +95,28 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?string + public function getCode(): ?string { - return $this->id2; + return $this->code; } - public function setId2(?string $id2): self + public function setCode(?string $code): self { - $this->initialized['id2'] = true; - $this->id2 = $id2; + $this->initialized['code'] = true; + $this->code = $code; return $this; } - public function getName(): ?string + public function getLabel(): ?string { - return $this->name; + return $this->label; } - public function setName(?string $name): self + public function setLabel(?string $label): self { - $this->initialized['name'] = true; - $this->name = $name; + $this->initialized['label'] = true; + $this->label = $label; return $this; } @@ -155,15 +147,40 @@ public function setOrganization(?string $organization): self return $this; } - public function getWorkspace(): ?string + /** + * @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->workspace; + return $this->pictograms; } - public function setWorkspace(?string $workspace): self + /** + * @param string[]|null $pictograms + */ + public function setPictograms(?array $pictograms): self { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; return $this; } @@ -171,18 +188,18 @@ public function setWorkspace(?string $workspace): self /** * @return string[]|null */ - public function getContents(): ?iterable + public function getTemplate(): ?array { - return $this->contents; + return $this->template; } /** - * @param string[]|null $contents + * @param string[]|null $template */ - public function setContents(?iterable $contents): self + public function setTemplate(?array $template): self { - $this->initialized['contents'] = true; - $this->contents = $contents; + $this->initialized['template'] = true; + $this->template = $template; return $this; } diff --git a/src/Model/WorkflowJobPipelineJsonld.php b/src/Model/TemplateJsonldTemplateCreate.php similarity index 62% rename from src/Model/WorkflowJobPipelineJsonld.php rename to src/Model/TemplateJsonldTemplateCreate.php index d9f0dc1f..15bc3e00 100644 --- a/src/Model/WorkflowJobPipelineJsonld.php +++ b/src/Model/TemplateJsonldTemplateCreate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobPipelineJsonld extends \ArrayObject +class TemplateJsonldTemplateCreate extends \ArrayObject { /** * @var array @@ -19,8 +13,12 @@ class WorkflowJobPipelineJsonld 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,34 +27,43 @@ public function isInitialized($property): bool * @var string|null */ protected $type; - /** - * @var mixed|null - */ - protected $context; /** * @var string|null */ - protected $job; + protected $code; /** * @var string|null */ - protected $id2; + protected $label; /** * @var string|null */ - protected $code; + protected $description; /** - * @var string|null + * @var string[]|null */ - protected $label; + protected $keywords; /** * @var string[]|null */ - protected $runtime; + protected $pictograms; /** * @var string[]|null */ - protected $steps; + 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 { @@ -84,73 +91,60 @@ 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; - } - - public function getJob(): ?string + public function getCode(): ?string { - return $this->job; + return $this->code; } - public function setJob(?string $job): self + public function setCode(?string $code): self { - $this->initialized['job'] = true; - $this->job = $job; + $this->initialized['code'] = true; + $this->code = $code; return $this; } - public function getId2(): ?string + public function getLabel(): ?string { - return $this->id2; + return $this->label; } - public function setId2(?string $id2): self + public function setLabel(?string $label): self { - $this->initialized['id2'] = true; - $this->id2 = $id2; + $this->initialized['label'] = true; + $this->label = $label; return $this; } - public function getCode(): ?string + public function getDescription(): ?string { - return $this->code; + return $this->description; } - public function setCode(?string $code): self + public function setDescription(?string $description): self { - $this->initialized['code'] = true; - $this->code = $code; + $this->initialized['description'] = true; + $this->description = $description; return $this; } - public function getLabel(): ?string + /** + * @return string[]|null + */ + public function getKeywords(): ?array { - return $this->label; + return $this->keywords; } - public function setLabel(?string $label): self + /** + * @param string[]|null $keywords + */ + public function setKeywords(?array $keywords): self { - $this->initialized['label'] = true; - $this->label = $label; + $this->initialized['keywords'] = true; + $this->keywords = $keywords; return $this; } @@ -158,18 +152,18 @@ public function setLabel(?string $label): self /** * @return string[]|null */ - public function getRuntime(): ?array + public function getPictograms(): ?array { - return $this->runtime; + return $this->pictograms; } /** - * @param string[]|null $runtime + * @param string[]|null $pictograms */ - public function setRuntime(?array $runtime): self + public function setPictograms(?array $pictograms): self { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; + $this->initialized['pictograms'] = true; + $this->pictograms = $pictograms; return $this; } @@ -177,18 +171,18 @@ public function setRuntime(?array $runtime): self /** * @return string[]|null */ - public function getSteps(): ?array + public function getTemplate(): ?array { - return $this->steps; + return $this->template; } /** - * @param string[]|null $steps + * @param string[]|null $template */ - public function setSteps(?array $steps): self + public function setTemplate(?array $template): self { - $this->initialized['steps'] = true; - $this->steps = $steps; + $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/UserAuthorization.php b/src/Model/UserAuthorizationAuthorizationRead.php similarity index 92% rename from src/Model/UserAuthorization.php rename to src/Model/UserAuthorizationAuthorizationRead.php index b869feab..8a4a927d 100644 --- a/src/Model/UserAuthorization.php +++ b/src/Model/UserAuthorizationAuthorizationRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class UserAuthorization extends \ArrayObject +class UserAuthorizationAuthorizationRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class UserAuthorization 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/EnvironmentRead.php b/src/Model/UserAuthorizationAuthorizationWrite.php similarity index 53% rename from src/Model/EnvironmentRead.php rename to src/Model/UserAuthorizationAuthorizationWrite.php index 44986828..091bdbd4 100644 --- a/src/Model/EnvironmentRead.php +++ b/src/Model/UserAuthorizationAuthorizationWrite.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class EnvironmentRead extends \ArrayObject +class UserAuthorizationAuthorizationWrite extends \ArrayObject { /** * @var array @@ -19,90 +13,96 @@ class EnvironmentRead 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; + protected $user; /** * @var string|null */ - protected $name; + protected $workspace; /** * @var string|null */ - protected $description; + protected $organization; /** * @var string|null */ - protected $organization; + protected $resource; /** - * @var string|null + * @var string[]|null */ - protected $workspace; + protected $authorizations; - public function getId(): ?string + public function getUser(): ?string { - return $this->id; + return $this->user; } - public function setId(?string $id): self + public function setUser(?string $user): self { - $this->initialized['id'] = true; - $this->id = $id; + $this->initialized['user'] = true; + $this->user = $user; return $this; } - public function getName(): ?string + public function getWorkspace(): ?string { - return $this->name; + return $this->workspace; } - public function setName(?string $name): self + public function setWorkspace(?string $workspace): self { - $this->initialized['name'] = true; - $this->name = $name; + $this->initialized['workspace'] = true; + $this->workspace = $workspace; return $this; } - public function getDescription(): ?string + public function getOrganization(): ?string { - return $this->description; + return $this->organization; } - public function setDescription(?string $description): self + public function setOrganization(?string $organization): self { - $this->initialized['description'] = true; - $this->description = $description; + $this->initialized['organization'] = true; + $this->organization = $organization; return $this; } - public function getOrganization(): ?string + public function getResource(): ?string { - return $this->organization; + return $this->resource; } - public function setOrganization(?string $organization): self + public function setResource(?string $resource): self { - $this->initialized['organization'] = true; - $this->organization = $organization; + $this->initialized['resource'] = true; + $this->resource = $resource; return $this; } - public function getWorkspace(): ?string + /** + * @return string[]|null + */ + public function getAuthorizations(): ?array { - return $this->workspace; + return $this->authorizations; } - public function setWorkspace(?string $workspace): self + /** + * @param string[]|null $authorizations + */ + public function setAuthorizations(?array $authorizations): self { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; + $this->initialized['authorizations'] = true; + $this->authorizations = $authorizations; return $this; } diff --git a/src/Model/UserAuthorizationJsonld.php b/src/Model/UserAuthorizationJsonldAuthorizationRead.php similarity index 91% rename from src/Model/UserAuthorizationJsonld.php rename to src/Model/UserAuthorizationJsonldAuthorizationRead.php index c182fe26..0b3b2a20 100644 --- a/src/Model/UserAuthorizationJsonld.php +++ b/src/Model/UserAuthorizationJsonldAuthorizationRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class UserAuthorizationJsonld extends \ArrayObject +class UserAuthorizationJsonldAuthorizationRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class UserAuthorizationJsonld 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/SecretJsonldRead.php b/src/Model/UserAuthorizationJsonldAuthorizationWrite.php similarity index 61% rename from src/Model/SecretJsonldRead.php rename to src/Model/UserAuthorizationJsonldAuthorizationWrite.php index f92b3bf0..2574a3dc 100644 --- a/src/Model/SecretJsonldRead.php +++ b/src/Model/UserAuthorizationJsonldAuthorizationWrite.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class SecretJsonldRead extends \ArrayObject +class UserAuthorizationJsonldAuthorizationWrite extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class SecretJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -36,15 +30,11 @@ public function isInitialized($property): bool /** * @var string|null */ - protected $id2; - /** - * @var string|null - */ - protected $name; + protected $user; /** * @var string|null */ - protected $description; + protected $workspace; /** * @var string|null */ @@ -52,23 +42,17 @@ public function isInitialized($property): bool /** * @var string|null */ - protected $workspace; + protected $resource; /** * @var string[]|null */ - protected $contents; + protected $authorizations; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -103,41 +87,28 @@ 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 getName(): ?string + public function getUser(): ?string { - return $this->name; + return $this->user; } - public function setName(?string $name): self + public function setUser(?string $user): self { - $this->initialized['name'] = true; - $this->name = $name; + $this->initialized['user'] = true; + $this->user = $user; return $this; } - public function getDescription(): ?string + public function getWorkspace(): ?string { - return $this->description; + return $this->workspace; } - public function setDescription(?string $description): self + public function setWorkspace(?string $workspace): self { - $this->initialized['description'] = true; - $this->description = $description; + $this->initialized['workspace'] = true; + $this->workspace = $workspace; return $this; } @@ -155,15 +126,15 @@ public function setOrganization(?string $organization): self return $this; } - public function getWorkspace(): ?string + public function getResource(): ?string { - return $this->workspace; + return $this->resource; } - public function setWorkspace(?string $workspace): self + public function setResource(?string $resource): self { - $this->initialized['workspace'] = true; - $this->workspace = $workspace; + $this->initialized['resource'] = true; + $this->resource = $resource; return $this; } @@ -171,18 +142,18 @@ public function setWorkspace(?string $workspace): self /** * @return string[]|null */ - public function getContents(): ?iterable + public function getAuthorizations(): ?array { - return $this->contents; + return $this->authorizations; } /** - * @param string[]|null $contents + * @param string[]|null $authorizations */ - public function setContents(?iterable $contents): self + public function setAuthorizations(?array $authorizations): self { - $this->initialized['contents'] = true; - $this->contents = $contents; + $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/UserJsonldUserRead.php similarity index 54% rename from src/Model/UserJsonld.php rename to src/Model/UserJsonldUserRead.php index 1f1da7a3..3ff9f788 100644 --- a/src/Model/UserJsonld.php +++ b/src/Model/UserJsonldUserRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class UserJsonld extends \ArrayObject +class UserJsonldUserRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class UserJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -53,10 +47,6 @@ public function isInitialized($property): bool * @var string|null */ protected $email; - /** - * @var string|null - */ - protected $password; /** * @var bool|null */ @@ -81,54 +71,12 @@ public function isInitialized($property): bool * @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; @@ -228,19 +176,6 @@ public function setEmail(?string $email): self 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; @@ -342,145 +277,4 @@ public function setWorkspaces(?array $workspaces): self 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/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/User.php b/src/Model/UserUserRead.php similarity index 50% rename from src/Model/User.php rename to src/Model/UserUserRead.php index 6d8acf2b..c7a294f7 100644 --- a/src/Model/User.php +++ b/src/Model/UserUserRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class User extends \ArrayObject +class UserUserRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class User extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -41,10 +35,6 @@ public function isInitialized($property): bool * @var string|null */ protected $email; - /** - * @var string|null - */ - protected $password; /** * @var bool|null */ @@ -69,42 +59,6 @@ public function isInitialized($property): bool * @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 { @@ -171,19 +125,6 @@ public function setEmail(?string $email): self 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; @@ -285,145 +226,4 @@ public function setWorkspaces(?array $workspaces): self 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/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/VariableFromSecretInput.php b/src/Model/VariableFromConfigurationInputEnvironmentUpdate.php similarity index 80% rename from src/Model/VariableFromSecretInput.php rename to src/Model/VariableFromConfigurationInputEnvironmentUpdate.php index f83c660b..2abaf873 100644 --- a/src/Model/VariableFromSecretInput.php +++ b/src/Model/VariableFromConfigurationInputEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromSecretInput extends \ArrayObject +class VariableFromConfigurationInputEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromSecretInput 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/VariableFromSecretInputJsonld.php b/src/Model/VariableFromConfigurationInputJsonldEnvironmentUpdate.php similarity index 85% rename from src/Model/VariableFromSecretInputJsonld.php rename to src/Model/VariableFromConfigurationInputJsonldEnvironmentUpdate.php index 17bd9b47..653f27f5 100644 --- a/src/Model/VariableFromSecretInputJsonld.php +++ b/src/Model/VariableFromConfigurationInputJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromSecretInputJsonld extends \ArrayObject +class VariableFromConfigurationInputJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromSecretInputJsonld 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 $from; - /** - * @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/VariableFromConfigurationJsonldRead.php b/src/Model/VariableFromConfigurationJsonldVariableUpdate.php similarity index 76% rename from src/Model/VariableFromConfigurationJsonldRead.php rename to src/Model/VariableFromConfigurationJsonldVariableUpdate.php index ceaf4b73..5ba37aaf 100644 --- a/src/Model/VariableFromConfigurationJsonldRead.php +++ b/src/Model/VariableFromConfigurationJsonldVariableUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConfigurationJsonldRead extends \ArrayObject +class VariableFromConfigurationJsonldVariableUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConfigurationJsonldRead 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,7 +28,7 @@ public function isInitialized($property): bool */ protected $type; /** - * @var ConfigurationJsonldRead|null + * @var string|null */ protected $configuration; /** @@ -42,7 +36,7 @@ public function isInitialized($property): bool */ protected $item; /** - * @var EnvironmentJsonldRead|null + * @var string|null */ protected $environment; /** @@ -50,17 +44,11 @@ public function isInitialized($property): bool */ protected $name; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -95,12 +83,12 @@ public function setType(?string $type): self return $this; } - public function getConfiguration(): ?ConfigurationJsonldRead + public function getConfiguration(): ?string { return $this->configuration; } - public function setConfiguration(?ConfigurationJsonldRead $configuration): self + public function setConfiguration(?string $configuration): self { $this->initialized['configuration'] = true; $this->configuration = $configuration; @@ -121,12 +109,12 @@ public function setItem(?string $item): self return $this; } - public function getEnvironment(): ?EnvironmentJsonldRead + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(?EnvironmentJsonldRead $environment): self + public function setEnvironment(?string $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; 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/VariableFromConfigurationVariableUpdate.php similarity index 69% rename from src/Model/VariableFromConfigurationRead.php rename to src/Model/VariableFromConfigurationVariableUpdate.php index cfa88733..969df240 100644 --- a/src/Model/VariableFromConfigurationRead.php +++ b/src/Model/VariableFromConfigurationVariableUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConfigurationRead extends \ArrayObject +class VariableFromConfigurationVariableUpdate extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class VariableFromConfigurationRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var ConfigurationRead|null + * @var string|null */ protected $configuration; /** @@ -30,7 +24,7 @@ public function isInitialized($property): bool */ protected $item; /** - * @var EnvironmentRead|null + * @var string|null */ protected $environment; /** @@ -38,12 +32,12 @@ public function isInitialized($property): bool */ protected $name; - public function getConfiguration(): ?ConfigurationRead + public function getConfiguration(): ?string { return $this->configuration; } - public function setConfiguration(?ConfigurationRead $configuration): self + public function setConfiguration(?string $configuration): self { $this->initialized['configuration'] = true; $this->configuration = $configuration; @@ -64,12 +58,12 @@ public function setItem(?string $item): self return $this; } - public function getEnvironment(): ?EnvironmentRead + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(?EnvironmentRead $environment): self + public function setEnvironment(?string $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; 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/VariableFromConstantInputEnvironmentUpdate.php similarity index 80% rename from src/Model/VariableFromConstantInput.php rename to src/Model/VariableFromConstantInputEnvironmentUpdate.php index 89bf9661..b5141747 100644 --- a/src/Model/VariableFromConstantInput.php +++ b/src/Model/VariableFromConstantInputEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConstantInput extends \ArrayObject +class VariableFromConstantInputEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConstantInput 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/VariableFromConstantInputJsonld.php b/src/Model/VariableFromConstantInputJsonldEnvironmentUpdate.php similarity index 85% rename from src/Model/VariableFromConstantInputJsonld.php rename to src/Model/VariableFromConstantInputJsonldEnvironmentUpdate.php index 1330b90f..25929696 100644 --- a/src/Model/VariableFromConstantInputJsonld.php +++ b/src/Model/VariableFromConstantInputJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConstantInputJsonld extends \ArrayObject +class VariableFromConstantInputJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConstantInputJsonld 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/VariableFromConstantJsonldRead.php b/src/Model/VariableFromConstantJsonldVariableUpdate.php similarity index 80% rename from src/Model/VariableFromConstantJsonldRead.php rename to src/Model/VariableFromConstantJsonldVariableUpdate.php index 5b1ec1aa..14d322b8 100644 --- a/src/Model/VariableFromConstantJsonldRead.php +++ b/src/Model/VariableFromConstantJsonldVariableUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConstantJsonldRead extends \ArrayObject +class VariableFromConstantJsonldVariableUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConstantJsonldRead 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,7 +32,7 @@ public function isInitialized($property): bool */ protected $value; /** - * @var EnvironmentJsonldRead|null + * @var string|null */ protected $environment; /** @@ -46,17 +40,11 @@ public function isInitialized($property): bool */ protected $name; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -104,12 +92,12 @@ public function setValue(?string $value): self return $this; } - public function getEnvironment(): ?EnvironmentJsonldRead + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(?EnvironmentJsonldRead $environment): self + public function setEnvironment(?string $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; 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/VariableFromConstantRead.php b/src/Model/VariableFromConstantVariableUpdate.php similarity index 74% rename from src/Model/VariableFromConstantRead.php rename to src/Model/VariableFromConstantVariableUpdate.php index 2646b630..d57c4e99 100644 --- a/src/Model/VariableFromConstantRead.php +++ b/src/Model/VariableFromConstantVariableUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConstantRead extends \ArrayObject +class VariableFromConstantVariableUpdate extends \ArrayObject { /** * @var array @@ -19,14 +13,14 @@ class VariableFromConstantRead 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 $value; /** - * @var EnvironmentRead|null + * @var string|null */ protected $environment; /** @@ -47,12 +41,12 @@ public function setValue(?string $value): self return $this; } - public function getEnvironment(): ?EnvironmentRead + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(?EnvironmentRead $environment): self + public function setEnvironment(?string $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; diff --git a/src/Model/VariableJsonldRead.php b/src/Model/VariableFromConstantVariableViewEnvironmentView.php similarity index 65% rename from src/Model/VariableJsonldRead.php rename to src/Model/VariableFromConstantVariableViewEnvironmentView.php index 74fd7369..d9dacac9 100644 --- a/src/Model/VariableJsonldRead.php +++ b/src/Model/VariableFromConstantVariableViewEnvironmentView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableJsonldRead extends \ArrayObject +class VariableFromConstantVariableViewEnvironmentView extends \ArrayObject { /** * @var array @@ -19,18 +13,18 @@ class VariableJsonldRead 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; + protected $value; /** * @var string|null */ - protected $type; + protected $id; /** - * @var EnvironmentJsonldRead|null + * @var EnvironmentVariableViewEnvironmentView|null */ protected $environment; /** @@ -38,38 +32,38 @@ public function isInitialized($property): bool */ protected $name; - public function getId(): ?string + public function getValue(): ?string { - return $this->id; + return $this->value; } - public function setId(?string $id): self + public function setValue(?string $value): self { - $this->initialized['id'] = true; - $this->id = $id; + $this->initialized['value'] = true; + $this->value = $value; return $this; } - public function getType(): ?string + public function getId(): ?string { - return $this->type; + return $this->id; } - public function setType(?string $type): self + public function setId(?string $id): self { - $this->initialized['type'] = true; - $this->type = $type; + $this->initialized['id'] = true; + $this->id = $id; return $this; } - public function getEnvironment(): ?EnvironmentJsonldRead + public function getEnvironment(): ?EnvironmentVariableViewEnvironmentView { return $this->environment; } - public function setEnvironment(?EnvironmentJsonldRead $environment): self + public function setEnvironment(?EnvironmentVariableViewEnvironmentView $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; diff --git a/src/Model/VariableFromConfigurationInput.php b/src/Model/VariableFromSecretInputEnvironmentUpdate.php similarity index 79% rename from src/Model/VariableFromConfigurationInput.php rename to src/Model/VariableFromSecretInputEnvironmentUpdate.php index ef903066..0a387565 100644 --- a/src/Model/VariableFromConfigurationInput.php +++ b/src/Model/VariableFromSecretInputEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConfigurationInput extends \ArrayObject +class VariableFromSecretInputEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConfigurationInput 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/VariableFromConfigurationInputJsonld.php b/src/Model/VariableFromSecretInputJsonldEnvironmentUpdate.php similarity index 85% rename from src/Model/VariableFromConfigurationInputJsonld.php rename to src/Model/VariableFromSecretInputJsonldEnvironmentUpdate.php index bb3a6ac6..8871d8e8 100644 --- a/src/Model/VariableFromConfigurationInputJsonld.php +++ b/src/Model/VariableFromSecretInputJsonldEnvironmentUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromConfigurationInputJsonld extends \ArrayObject +class VariableFromSecretInputJsonldEnvironmentUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromConfigurationInputJsonld 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 $from; - /** - * @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/PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php b/src/Model/VariableFromSecretJsonldVariableUpdate.php similarity index 77% rename from src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php rename to src/Model/VariableFromSecretJsonldVariableUpdate.php index e4fe024d..41ad8820 100644 --- a/src/Model/PipelineDeclarePipelineScheduleImmediateCommandInputJsonld.php +++ b/src/Model/VariableFromSecretJsonldVariableUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineDeclarePipelineScheduleImmediateCommandInputJsonld extends \ArrayObject +class VariableFromSecretJsonldVariableUpdate extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineDeclarePipelineScheduleImmediateCommandInputJsonld extends \ArrayO public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -37,18 +31,16 @@ public function isInitialized($property): bool * @var string|null */ protected $environment; - /** - * @return mixed + * @var string|null */ + protected $name; + public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -95,4 +87,17 @@ public function setEnvironment(?string $environment): self 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/VariableFromSecretJsonldRead.php b/src/Model/VariableFromSecretJsonldVariableViewEnvironmentView.php similarity index 72% rename from src/Model/VariableFromSecretJsonldRead.php rename to src/Model/VariableFromSecretJsonldVariableViewEnvironmentView.php index 00110281..b2f783d5 100644 --- a/src/Model/VariableFromSecretJsonldRead.php +++ b/src/Model/VariableFromSecretJsonldVariableViewEnvironmentView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromSecretJsonldRead extends \ArrayObject +class VariableFromSecretJsonldVariableViewEnvironmentView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class VariableFromSecretJsonldRead 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,7 +28,7 @@ public function isInitialized($property): bool */ protected $type; /** - * @var SecretJsonldRead|null + * @var string|null */ protected $secret; /** @@ -42,7 +36,11 @@ public function isInitialized($property): bool */ protected $item; /** - * @var EnvironmentJsonldRead|null + * @var string|null + */ + protected $id2; + /** + * @var EnvironmentJsonldVariableViewEnvironmentView|null */ protected $environment; /** @@ -50,17 +48,11 @@ public function isInitialized($property): bool */ protected $name; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -95,12 +87,12 @@ public function setType(?string $type): self return $this; } - public function getSecret(): ?SecretJsonldRead + public function getSecret(): ?string { return $this->secret; } - public function setSecret(?SecretJsonldRead $secret): self + public function setSecret(?string $secret): self { $this->initialized['secret'] = true; $this->secret = $secret; @@ -121,12 +113,25 @@ public function setItem(?string $item): self return $this; } - public function getEnvironment(): ?EnvironmentJsonldRead + 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(?EnvironmentJsonldRead $environment): self + public function setEnvironment(?EnvironmentJsonldVariableViewEnvironmentView $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; diff --git a/src/Model/VariableRead.php b/src/Model/VariableFromSecretVariableUpdate.php similarity index 67% rename from src/Model/VariableRead.php rename to src/Model/VariableFromSecretVariableUpdate.php index 09aa0152..c0d69afb 100644 --- a/src/Model/VariableRead.php +++ b/src/Model/VariableFromSecretVariableUpdate.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableRead extends \ArrayObject +class VariableFromSecretVariableUpdate extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class VariableRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var EnvironmentRead|null + * @var string|null */ protected $environment; /** @@ -30,12 +24,12 @@ public function isInitialized($property): bool */ protected $name; - public function getEnvironment(): ?EnvironmentRead + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(?EnvironmentRead $environment): self + public function setEnvironment(?string $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; diff --git a/src/Model/VariableFromSecretRead.php b/src/Model/VariableFromSecretVariableViewEnvironmentView.php similarity index 61% rename from src/Model/VariableFromSecretRead.php rename to src/Model/VariableFromSecretVariableViewEnvironmentView.php index 7841eb1f..a490323c 100644 --- a/src/Model/VariableFromSecretRead.php +++ b/src/Model/VariableFromSecretVariableViewEnvironmentView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class VariableFromSecretRead extends \ArrayObject +class VariableFromSecretVariableViewEnvironmentView extends \ArrayObject { /** * @var array @@ -19,10 +13,10 @@ class VariableFromSecretRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var SecretRead|null + * @var string|null */ protected $secret; /** @@ -30,7 +24,11 @@ public function isInitialized($property): bool */ protected $item; /** - * @var EnvironmentRead|null + * @var string|null + */ + protected $id; + /** + * @var EnvironmentVariableViewEnvironmentView|null */ protected $environment; /** @@ -38,12 +36,12 @@ public function isInitialized($property): bool */ protected $name; - public function getSecret(): ?SecretRead + public function getSecret(): ?string { return $this->secret; } - public function setSecret(?SecretRead $secret): self + public function setSecret(?string $secret): self { $this->initialized['secret'] = true; $this->secret = $secret; @@ -64,12 +62,25 @@ public function setItem(?string $item): self return $this; } - public function getEnvironment(): ?EnvironmentRead + 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(?EnvironmentRead $environment): self + public function setEnvironment(?EnvironmentVariableViewEnvironmentView $environment): self { $this->initialized['environment'] = true; $this->environment = $environment; diff --git a/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php b/src/Model/VariableJsonldVariableViewEnvironmentView.php similarity index 67% rename from src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php rename to src/Model/VariableJsonldVariableViewEnvironmentView.php index aa92372b..5ed8aad8 100644 --- a/src/Model/PipelineAddPipelineComposerRepositoryCommandInputJsonld.php +++ b/src/Model/VariableJsonldVariableViewEnvironmentView.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAddPipelineComposerRepositoryCommandInputJsonld extends \ArrayObject +class VariableJsonldVariableViewEnvironmentView extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAddPipelineComposerRepositoryCommandInputJsonld extends \ArrayObje public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -36,27 +30,21 @@ public function isInitialized($property): bool /** * @var string|null */ - protected $name; + protected $id2; /** - * @var string|null + * @var EnvironmentJsonldVariableViewEnvironmentView|null */ - protected $type2; + protected $environment; /** * @var string|null */ - protected $url; + protected $name; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -91,41 +79,41 @@ public function setType(?string $type): self return $this; } - public function getName(): ?string + public function getId2(): ?string { - return $this->name; + return $this->id2; } - public function setName(?string $name): self + public function setId2(?string $id2): self { - $this->initialized['name'] = true; - $this->name = $name; + $this->initialized['id2'] = true; + $this->id2 = $id2; return $this; } - public function getType2(): ?string + public function getEnvironment(): ?EnvironmentJsonldVariableViewEnvironmentView { - return $this->type2; + return $this->environment; } - public function setType2(?string $type2): self + public function setEnvironment(?EnvironmentJsonldVariableViewEnvironmentView $environment): self { - $this->initialized['type2'] = true; - $this->type2 = $type2; + $this->initialized['environment'] = true; + $this->environment = $environment; return $this; } - public function getUrl(): ?string + public function getName(): ?string { - return $this->url; + return $this->name; } - public function setUrl(?string $url): self + public function setName(?string $name): self { - $this->initialized['url'] = true; - $this->url = $url; + $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/WorkflowJobActionActionRead.php similarity index 90% rename from src/Model/WorkflowJobAction.php rename to src/Model/WorkflowJobActionActionRead.php index aaab1f96..12763238 100644 --- a/src/Model/WorkflowJobAction.php +++ b/src/Model/WorkflowJobActionActionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobAction extends \ArrayObject +class WorkflowJobActionActionRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class WorkflowJobAction 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/WorkflowJobActionRead.php b/src/Model/WorkflowJobActionJobRead.php similarity index 77% rename from src/Model/WorkflowJobActionRead.php rename to src/Model/WorkflowJobActionJobRead.php index 1e535add..de07c145 100644 --- a/src/Model/WorkflowJobActionRead.php +++ b/src/Model/WorkflowJobActionJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobActionRead extends \ArrayObject +class WorkflowJobActionJobRead extends \ArrayObject { /** * @var array @@ -19,8 +13,12 @@ class WorkflowJobActionRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } + /** + * @var WorkflowJobJobRead|null + */ + protected $job; /** * @var string|null */ @@ -38,6 +36,19 @@ public function isInitialized($property): bool */ 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; diff --git a/src/Model/WorkflowJobActionJsonld.php b/src/Model/WorkflowJobActionJsonldActionRead.php similarity index 90% rename from src/Model/WorkflowJobActionJsonld.php rename to src/Model/WorkflowJobActionJsonldActionRead.php index 7059145c..de7118e8 100644 --- a/src/Model/WorkflowJobActionJsonld.php +++ b/src/Model/WorkflowJobActionJsonldActionRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobActionJsonld extends \ArrayObject +class WorkflowJobActionJsonldActionRead extends \ArrayObject { /** * @var array @@ -19,12 +13,8 @@ class WorkflowJobActionJsonld 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 */ @@ -33,6 +23,10 @@ public function isInitialized($property): bool * @var string|null */ protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ @@ -54,25 +48,6 @@ 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; - $this->context = $context; - - return $this; - } - public function getId(): ?string { return $this->id; @@ -99,6 +74,19 @@ public function setType(?string $type): self 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; diff --git a/src/Model/WorkflowJobActionJsonldRead.php b/src/Model/WorkflowJobActionJsonldJobRead.php similarity index 84% rename from src/Model/WorkflowJobActionJsonldRead.php rename to src/Model/WorkflowJobActionJsonldJobRead.php index 9f20d676..1aeb08a7 100644 --- a/src/Model/WorkflowJobActionJsonldRead.php +++ b/src/Model/WorkflowJobActionJsonldJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobActionJsonldRead extends \ArrayObject +class WorkflowJobActionJsonldJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class WorkflowJobActionJsonldRead 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,6 +27,10 @@ public function isInitialized($property): bool * @var string|null */ protected $type; + /** + * @var WorkflowJobJsonldJobRead|null + */ + protected $job; /** * @var string|null */ @@ -50,17 +48,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; @@ -95,6 +87,19 @@ public function setType(?string $type): self 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; diff --git a/src/Model/PipelineAppendPipelineStepCommandInput.php b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php similarity index 88% rename from src/Model/PipelineAppendPipelineStepCommandInput.php rename to src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php index a429401d..9d55a797 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInput.php +++ b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAppendPipelineStepCommandInput extends \ArrayObject +class WorkflowJobAddAfterWorkflowPipelineStepCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAppendPipelineStepCommandInput 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/PipelineAppendPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php similarity index 89% rename from src/Model/PipelineAppendPipelineStepCommandInputJsonld.php rename to src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php index 8a7c56f4..8a5a2f1b 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php +++ b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAppendPipelineStepCommandInputJsonld extends \ArrayObject +class WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAppendPipelineStepCommandInputJsonld 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/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php similarity index 79% rename from src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php rename to src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php index f89a67b8..e6757a92 100644 --- a/src/Model/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead.php +++ b/src/Model/WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead extends \ArrayObject +class WorkflowJobAddAfterWorkflowPipelineStepCommandJsonldJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead extends \Array 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/PipelineReplacePipelineStepCommandInput.php b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php similarity index 88% rename from src/Model/PipelineReplacePipelineStepCommandInput.php rename to src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php index a7aec074..b495eeb4 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInput.php +++ b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineReplacePipelineStepCommandInput extends \ArrayObject +class WorkflowJobAddBeforeWorkflowPipelineStepCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineReplacePipelineStepCommandInput 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/PipelineReplacePipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php similarity index 89% rename from src/Model/PipelineReplacePipelineStepCommandInputJsonld.php rename to src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php index 599ec6ba..88f57b60 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php +++ b/src/Model/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineReplacePipelineStepCommandInputJsonld extends \ArrayObject +class WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineReplacePipelineStepCommandInputJsonld 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/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/PipelineAddAfterPipelineStepCommandInput.php b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInput.php similarity index 88% rename from src/Model/PipelineAddAfterPipelineStepCommandInput.php rename to src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInput.php index 997af030..30228eb6 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInput.php +++ b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAddAfterPipelineStepCommandInput extends \ArrayObject +class WorkflowJobAppendWorkflowPipelineStepCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAddAfterPipelineStepCommandInput 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/PipelineAddAfterPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php similarity index 89% rename from src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php rename to src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php index 3f196546..b22f1409 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAddAfterPipelineStepCommandInputJsonld extends \ArrayObject +class WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAddAfterPipelineStepCommandInputJsonld 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/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/WorkflowJobJsonldRead.php b/src/Model/WorkflowJobJsonldJobRead.php similarity index 61% rename from src/Model/WorkflowJobJsonldRead.php rename to src/Model/WorkflowJobJsonldJobRead.php index 335b68ec..c5b6e616 100644 --- a/src/Model/WorkflowJobJsonldRead.php +++ b/src/Model/WorkflowJobJsonldJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobJsonldRead extends \ArrayObject +class WorkflowJobJsonldJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class WorkflowJobJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -36,31 +30,29 @@ public function isInitialized($property): bool /** * @var string|null */ - protected $id2; + protected $workflow; + /** + * @var string|null + */ + protected $code; /** - * @var WorkflowJsonldRead|null + * @var int|null */ - protected $workflow; + protected $order; /** - * @var WorkflowJobPipelineJsonldRead|null + * @var WorkflowJobPipelineJsonldJobRead|null */ protected $pipeline; /** - * @var WorkflowJobActionJsonldRead|null + * @var WorkflowJobActionJsonldJobRead|null */ protected $action; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -95,38 +87,51 @@ public function setType(?string $type): self return $this; } - public function getId2(): ?string + 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->id2; + return $this->code; } - public function setId2(?string $id2): self + public function setCode(?string $code): self { - $this->initialized['id2'] = true; - $this->id2 = $id2; + $this->initialized['code'] = true; + $this->code = $code; return $this; } - public function getWorkflow(): ?WorkflowJsonldRead + public function getOrder(): ?int { - return $this->workflow; + return $this->order; } - public function setWorkflow(?WorkflowJsonldRead $workflow): self + public function setOrder(?int $order): self { - $this->initialized['workflow'] = true; - $this->workflow = $workflow; + $this->initialized['order'] = true; + $this->order = $order; return $this; } - public function getPipeline(): ?WorkflowJobPipelineJsonldRead + public function getPipeline(): ?WorkflowJobPipelineJsonldJobRead { return $this->pipeline; } - public function setPipeline(?WorkflowJobPipelineJsonldRead $pipeline): self + public function setPipeline(?WorkflowJobPipelineJsonldJobRead $pipeline): self { $this->initialized['pipeline'] = true; $this->pipeline = $pipeline; @@ -134,12 +139,12 @@ public function setPipeline(?WorkflowJobPipelineJsonldRead $pipeline): self return $this; } - public function getAction(): ?WorkflowJobActionJsonldRead + public function getAction(): ?WorkflowJobActionJsonldJobRead { return $this->action; } - public function setAction(?WorkflowJobActionJsonldRead $action): self + public function setAction(?WorkflowJobActionJsonldJobRead $action): self { $this->initialized['action'] = true; $this->action = $action; diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php similarity index 78% rename from src/Model/PipelineMoveAfterPipelineStepCommandInput.php rename to src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php index 1f7c34e8..e0fc994f 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php +++ b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineMoveAfterPipelineStepCommandInput extends \ArrayObject +class WorkflowJobMoveAfterWorkflowPipelineStepCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineMoveAfterPipelineStepCommandInput 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/PipelineMoveAfterPipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php similarity index 84% rename from src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php rename to src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php index 5c3da4e5..cc56f533 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineMoveAfterPipelineStepCommandInputJsonld extends \ArrayObject +class WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineMoveAfterPipelineStepCommandInputJsonld 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/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/PipelineMoveBeforePipelineStepCommandInput.php b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php similarity index 78% rename from src/Model/PipelineMoveBeforePipelineStepCommandInput.php rename to src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php index 61776d9a..1c5adf0b 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php +++ b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineMoveBeforePipelineStepCommandInput extends \ArrayObject +class WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineMoveBeforePipelineStepCommandInput 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/PipelineMoveBeforePipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php similarity index 84% rename from src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php rename to src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php index 856dac1c..23772e6e 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineMoveBeforePipelineStepCommandInputJsonld extends \ArrayObject +class WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineMoveBeforePipelineStepCommandInputJsonld 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/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/PipelineDeclarePipelineCommandInput.php b/src/Model/WorkflowJobPipelineJobRead.php similarity index 67% rename from src/Model/PipelineDeclarePipelineCommandInput.php rename to src/Model/WorkflowJobPipelineJobRead.php index 8e5db3da..af7f57df 100644 --- a/src/Model/PipelineDeclarePipelineCommandInput.php +++ b/src/Model/WorkflowJobPipelineJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineDeclarePipelineCommandInput extends \ArrayObject +class WorkflowJobPipelineJobRead extends \ArrayObject { /** * @var array @@ -19,16 +13,12 @@ class PipelineDeclarePipelineCommandInput extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** - * @var Step[]|null + * @var WorkflowJobJobRead|null */ - protected $steps; - /** - * @var Composer|null - */ - protected $composer; + protected $job; /** * @var string|null */ @@ -37,35 +27,20 @@ public function isInitialized($property): bool * @var string|null */ protected $label; - /** - * @return Step[]|null + * @var PipelineStepJobRead[]|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; - } + protected $steps; - public function getComposer(): ?Composer + public function getJob(): ?WorkflowJobJobRead { - return $this->composer; + return $this->job; } - public function setComposer(?Composer $composer): self + public function setJob(?WorkflowJobJobRead $job): self { - $this->initialized['composer'] = true; - $this->composer = $composer; + $this->initialized['job'] = true; + $this->job = $job; return $this; } @@ -95,4 +70,23 @@ public function setLabel(?string $label): self 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/PipelineDeclarePipelineCommandInputJsonld.php b/src/Model/WorkflowJobPipelineJsonldJobRead.php similarity index 75% rename from src/Model/PipelineDeclarePipelineCommandInputJsonld.php rename to src/Model/WorkflowJobPipelineJsonldJobRead.php index eb732a69..6c705e77 100644 --- a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php +++ b/src/Model/WorkflowJobPipelineJsonldJobRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineDeclarePipelineCommandInputJsonld extends \ArrayObject +class WorkflowJobPipelineJsonldJobRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineDeclarePipelineCommandInputJsonld 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,13 +28,9 @@ public function isInitialized($property): bool */ protected $type; /** - * @var StepJsonld[]|null - */ - protected $steps; - /** - * @var ComposerJsonld|null + * @var WorkflowJobJsonldJobRead|null */ - protected $composer; + protected $job; /** * @var string|null */ @@ -49,18 +39,16 @@ public function isInitialized($property): bool * @var string|null */ protected $label; - /** - * @return mixed + * @var PipelineStepJsonldJobRead[]|null */ + protected $steps; + public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -95,34 +83,15 @@ public function setType(?string $type): self return $this; } - /** - * @return StepJsonld[]|null - */ - public function getSteps(): ?array + public function getJob(): ?WorkflowJobJsonldJobRead { - return $this->steps; + return $this->job; } - /** - * @param StepJsonld[]|null $steps - */ - public function setSteps(?array $steps): self + public function setJob(?WorkflowJobJsonldJobRead $job): 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; + $this->initialized['job'] = true; + $this->job = $job; return $this; } @@ -152,4 +121,23 @@ public function setLabel(?string $label): self 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/WorkflowJobPipeline.php b/src/Model/WorkflowJobPipelineJsonldPipelineRead.php similarity index 74% rename from src/Model/WorkflowJobPipeline.php rename to src/Model/WorkflowJobPipelineJsonldPipelineRead.php index 258db2cb..44a97750 100644 --- a/src/Model/WorkflowJobPipeline.php +++ b/src/Model/WorkflowJobPipelineJsonldPipelineRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJobPipeline extends \ArrayObject +class WorkflowJobPipelineJsonldPipelineRead extends \ArrayObject { /** * @var array @@ -19,55 +13,85 @@ class WorkflowJobPipeline 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 $job; + protected $id; /** * @var string|null */ - protected $id; + protected $type; + /** + * @var mixed|null + */ + protected $context; /** * @var string|null */ - protected $code; + protected $job; /** * @var string|null */ - protected $label; + protected $code; /** - * @var string[]|null + * @var string|null */ - protected $runtime; + protected $label; /** * @var string[]|null */ protected $steps; - public function getJob(): ?string + public function getId(): ?string { - return $this->job; + return $this->id; } - public function setJob(?string $job): self + public function setId(?string $id): self { - $this->initialized['job'] = true; - $this->job = $job; + $this->initialized['id'] = true; + $this->id = $id; return $this; } - public function getId(): ?string + public function getType(): ?string { - return $this->id; + return $this->type; } - public function setId(?string $id): self + public function setType(?string $type): self { - $this->initialized['id'] = true; - $this->id = $id; + $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; } @@ -98,25 +122,6 @@ public function setLabel(?string $label): self 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 */ 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/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/PipelineReorderPipelineStepsCommandInput.php b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInput.php similarity index 73% rename from src/Model/PipelineReorderPipelineStepsCommandInput.php rename to src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInput.php index 8288ded7..bfeb1e1b 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInput.php +++ b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineReorderPipelineStepsCommandInput extends \ArrayObject +class WorkflowJobReorderWorkflowPipelineStepsCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineReorderPipelineStepsCommandInput 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/PipelineReorderPipelineStepsCommandInputJsonld.php b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php similarity index 83% rename from src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php rename to src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php index 22765617..7a0c5ecb 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php +++ b/src/Model/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineReorderPipelineStepsCommandInputJsonld extends \ArrayObject +class WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineReorderPipelineStepsCommandInputJsonld 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 $codes; - /** - * @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/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/PipelineAddBeforePipelineStepCommandInput.php b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInput.php similarity index 88% rename from src/Model/PipelineAddBeforePipelineStepCommandInput.php rename to src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInput.php index 28d334fb..43f22716 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInput.php +++ b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInput.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAddBeforePipelineStepCommandInput extends \ArrayObject +class WorkflowJobReplaceWorkflowPipelineStepCommandInput extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAddBeforePipelineStepCommandInput 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/PipelineAddBeforePipelineStepCommandInputJsonld.php b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php similarity index 89% rename from src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php rename to src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php index 4e8d7860..077cf244 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineAddBeforePipelineStepCommandInputJsonld extends \ArrayObject +class WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineAddBeforePipelineStepCommandInputJsonld 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/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/PipelineJsonldRead.php b/src/Model/WorkflowJsonldWorkflowRead.php similarity index 74% rename from src/Model/PipelineJsonldRead.php rename to src/Model/WorkflowJsonldWorkflowRead.php index 657da7df..68dd6578 100644 --- a/src/Model/PipelineJsonldRead.php +++ b/src/Model/WorkflowJsonldWorkflowRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class PipelineJsonldRead extends \ArrayObject +class WorkflowJsonldWorkflowRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class PipelineJsonldRead extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -34,17 +28,21 @@ public function isInitialized($property): bool */ protected $context; /** - * @var int|null + * @var string|null */ - protected $currentVersion; + protected $id2; /** * @var bool|null */ protected $isSoftDeleted; /** - * @var \DateTime|null + * @var string|null */ - protected $compiledAt; + protected $code; + /** + * @var string|null + */ + protected $label; /** * @var string[]|null */ @@ -61,26 +59,34 @@ public function isInitialized($property): bool * @var string[]|null */ protected $auths; + /** + * @var \DateTime|null + */ + protected $compiledAt; /** * @var string|null */ - protected $id2; + protected $owner; /** * @var string|null */ - protected $code; + protected $workspace; /** * @var string|null */ - protected $label; + protected $organization; + /** + * @var int|null + */ + protected $currentVersion; /** * @var string[]|null */ - protected $runtime; + protected $jobs; /** - * @var PipelineStepJsonldRead[]|null + * @var string[]|null */ - protected $steps; + protected $templatePictograms; public function getId(): ?string { @@ -108,17 +114,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; @@ -127,15 +127,15 @@ public function setContext($context): self return $this; } - public function getCurrentVersion(): ?int + public function getId2(): ?string { - return $this->currentVersion; + return $this->id2; } - public function setCurrentVersion(?int $currentVersion): self + public function setId2(?string $id2): self { - $this->initialized['currentVersion'] = true; - $this->currentVersion = $currentVersion; + $this->initialized['id2'] = true; + $this->id2 = $id2; return $this; } @@ -153,15 +153,28 @@ public function setIsSoftDeleted(?bool $isSoftDeleted): self return $this; } - public function getCompiledAt(): ?\DateTime + public function getCode(): ?string { - return $this->compiledAt; + return $this->code; } - public function setCompiledAt(?\DateTime $compiledAt): self + public function setCode(?string $code): self { - $this->initialized['compiledAt'] = true; - $this->compiledAt = $compiledAt; + $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; } @@ -242,41 +255,67 @@ public function setAuths(?array $auths): self return $this; } - public function getId2(): ?string + public function getCompiledAt(): ?\DateTime { - return $this->id2; + return $this->compiledAt; } - public function setId2(?string $id2): self + public function setCompiledAt(?\DateTime $compiledAt): self { - $this->initialized['id2'] = true; - $this->id2 = $id2; + $this->initialized['compiledAt'] = true; + $this->compiledAt = $compiledAt; return $this; } - public function getCode(): ?string + public function getOwner(): ?string { - return $this->code; + return $this->owner; } - public function setCode(?string $code): self + public function setOwner(?string $owner): self { - $this->initialized['code'] = true; - $this->code = $code; + $this->initialized['owner'] = true; + $this->owner = $owner; return $this; } - public function getLabel(): ?string + public function getWorkspace(): ?string { - return $this->label; + return $this->workspace; } - public function setLabel(?string $label): self + public function setWorkspace(?string $workspace): self { - $this->initialized['label'] = true; - $this->label = $label; + $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; } @@ -284,37 +323,37 @@ public function setLabel(?string $label): self /** * @return string[]|null */ - public function getRuntime(): ?array + public function getJobs(): ?array { - return $this->runtime; + return $this->jobs; } /** - * @param string[]|null $runtime + * @param string[]|null $jobs */ - public function setRuntime(?array $runtime): self + public function setJobs(?array $jobs): self { - $this->initialized['runtime'] = true; - $this->runtime = $runtime; + $this->initialized['jobs'] = true; + $this->jobs = $jobs; return $this; } /** - * @return PipelineStepJsonldRead[]|null + * @return string[]|null */ - public function getSteps(): ?array + public function getTemplatePictograms(): ?array { - return $this->steps; + return $this->templatePictograms; } /** - * @param PipelineStepJsonldRead[]|null $steps + * @param string[]|null $templatePictograms */ - public function setSteps(?array $steps): self + public function setTemplatePictograms(?array $templatePictograms): self { - $this->initialized['steps'] = true; - $this->steps = $steps; + $this->initialized['templatePictograms'] = true; + $this->templatePictograms = $templatePictograms; 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/WorkflowJsonldRead.php b/src/Model/WorkflowWorkflowRead.php similarity index 75% rename from src/Model/WorkflowJsonldRead.php rename to src/Model/WorkflowWorkflowRead.php index ee37670f..ba399904 100644 --- a/src/Model/WorkflowJsonldRead.php +++ b/src/Model/WorkflowWorkflowRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkflowJsonldRead extends \ArrayObject +class WorkflowWorkflowRead extends \ArrayObject { /** * @var array @@ -19,24 +13,12 @@ class WorkflowJsonldRead 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 string|null - */ - protected $type; - /** - * @var mixed|null - */ - protected $context; - /** - * @var string|null - */ - protected $id2; /** * @var bool|null */ @@ -69,14 +51,30 @@ public function isInitialized($property): bool * @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 WorkflowJobJsonldRead[]|null + * @var string[]|null */ protected $jobs; + /** + * @var string[]|null + */ + protected $templatePictograms; public function getId(): ?string { @@ -91,51 +89,6 @@ public function setId(?string $id): self 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; @@ -264,6 +217,45 @@ public function setCompiledAt(?\DateTime $compiledAt): self 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; @@ -278,7 +270,7 @@ public function setCurrentVersion(?int $currentVersion): self } /** - * @return WorkflowJobJsonldRead[]|null + * @return string[]|null */ public function getJobs(): ?array { @@ -286,7 +278,7 @@ public function getJobs(): ?array } /** - * @param WorkflowJobJsonldRead[]|null $jobs + * @param string[]|null $jobs */ public function setJobs(?array $jobs): self { @@ -295,4 +287,23 @@ public function setJobs(?array $jobs): self 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/WorkspaceJsonld.php b/src/Model/WorkspaceJsonldWorkspaceRead.php similarity index 84% rename from src/Model/WorkspaceJsonld.php rename to src/Model/WorkspaceJsonldWorkspaceRead.php index 0472af6e..96b01041 100644 --- a/src/Model/WorkspaceJsonld.php +++ b/src/Model/WorkspaceJsonldWorkspaceRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class WorkspaceJsonld extends \ArrayObject +class WorkspaceJsonldWorkspaceRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class WorkspaceJsonld extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var mixed|null @@ -49,10 +43,6 @@ public function isInitialized($property): bool * @var string|null */ protected $organization; - /** - * @var RegionJsonld|null - */ - protected $region; /** * @var string[]|null */ @@ -62,17 +52,11 @@ public function isInitialized($property): bool */ protected $users; - /** - * @return mixed - */ public function getContext() { return $this->context; } - /** - * @param mixed $context - */ public function setContext($context): self { $this->initialized['context'] = true; @@ -159,19 +143,6 @@ public function setOrganization(?string $organization): self 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 */ 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/Workspace.php b/src/Model/WorkspaceWorkspaceRead.php similarity index 82% rename from src/Model/Workspace.php rename to src/Model/WorkspaceWorkspaceRead.php index 705e1e17..a7be049c 100644 --- a/src/Model/Workspace.php +++ b/src/Model/WorkspaceWorkspaceRead.php @@ -2,15 +2,9 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Model; -class Workspace extends \ArrayObject +class WorkspaceWorkspaceRead extends \ArrayObject { /** * @var array @@ -19,7 +13,7 @@ class Workspace extends \ArrayObject public function isInitialized($property): bool { - return array_key_exists($property, $this->initialized); + return \array_key_exists($property, $this->initialized); } /** * @var string|null @@ -37,10 +31,6 @@ public function isInitialized($property): bool * @var string|null */ protected $organization; - /** - * @var Region|null - */ - protected $region; /** * @var string[]|null */ @@ -102,19 +92,6 @@ public function setOrganization(?string $organization): self 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 */ 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/AbstractPipelineNormalizer.php b/src/Normalizer/AbstractPipelineJobReadNormalizer.php similarity index 63% rename from src/Normalizer/AbstractPipelineNormalizer.php rename to src/Normalizer/AbstractPipelineJobReadNormalizer.php index 163d16e8..3db2d4e7 100644 --- a/src/Normalizer/AbstractPipelineNormalizer.php +++ b/src/Normalizer/AbstractPipelineJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class AbstractPipelineNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AbstractPipelineJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class AbstractPipelineNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AbstractPipeline'; + return 'Gyroscops\\Api\\Model\\AbstractPipelineJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AbstractPipeline'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipelineJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,24 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\AbstractPipeline(); + $object = new \Gyroscops\Api\Model\AbstractPipelineJobRead(); 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('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) && $data['steps'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { - $values[] = $value; + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJobRead', '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); } foreach ($data as $key => $value_1) { @@ -83,10 +80,12 @@ public function denormalize($data, $class, $format = null, array $context = []) 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[] = $value; + $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['steps'] = $values; } diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php similarity index 71% rename from src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php rename to src/Normalizer/AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php index ed5ff239..f762772b 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldExecutionPipelineStepReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AbstractPipelineJsonldExecutionPipelineStepReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldExecutionPipelineStepRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldExecutionPipelineStepRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\AbstractPipelineJsonldExecutionPipelineStepRead(); 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/AbstractPipelineJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldJobReadNormalizer.php similarity index 60% rename from src/Normalizer/AbstractPipelineJsonldNormalizer.php rename to src/Normalizer/AbstractPipelineJsonldJobReadNormalizer.php index 2e3b92ad..9fe7f8e9 100644 --- a/src/Normalizer/AbstractPipelineJsonldNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class AbstractPipelineJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AbstractPipelineJsonldJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class AbstractPipelineJsonldNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld'; + return 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,42 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\AbstractPipelineJsonld(); + $object = new \Gyroscops\Api\Model\AbstractPipelineJsonldJobRead(); 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('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) && $data['steps'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { - $values[] = $value; + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead', '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); } foreach ($data as $key => $value_1) { @@ -101,10 +98,12 @@ public function denormalize($data, $class, $format = null, array $context = []) 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[] = $value; + $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['steps'] = $values; } diff --git a/src/Normalizer/TraversableJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldStepReadNormalizer.php similarity index 70% rename from src/Normalizer/TraversableJsonldNormalizer.php rename to src/Normalizer/AbstractPipelineJsonldStepReadNormalizer.php index a90defb6..58870194 100644 --- a/src/Normalizer/TraversableJsonldNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldStepReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class TraversableJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AbstractPipelineJsonldStepReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class TraversableJsonldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\TraversableJsonld'; + return 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldStepRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\TraversableJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipelineJsonldStepRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\TraversableJsonld(); + $object = new \Gyroscops\Api\Model\AbstractPipelineJsonldStepRead(); 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/PipelineStepReadNormalizer.php b/src/Normalizer/ActionActionReadNormalizer.php similarity index 72% rename from src/Normalizer/PipelineStepReadNormalizer.php rename to src/Normalizer/ActionActionReadNormalizer.php index 080928c9..e753e313 100644 --- a/src/Normalizer/PipelineStepReadNormalizer.php +++ b/src/Normalizer/ActionActionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineStepReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ActionActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineStepReadNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepRead'; + return 'Gyroscops\\Api\\Model\\ActionActionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ActionActionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineStepRead(); + $object = new \Gyroscops\Api\Model\ActionActionRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('code', $data) && $data['code'] !== 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) && $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('configuration', $data) && $data['configuration'] !== 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) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/PipelineStepJsonldReadNormalizer.php b/src/Normalizer/ActionJsonldActionReadNormalizer.php similarity index 67% rename from src/Normalizer/PipelineStepJsonldReadNormalizer.php rename to src/Normalizer/ActionJsonldActionReadNormalizer.php index 7c251b31..88863bac 100644 --- a/src/Normalizer/PipelineStepJsonldReadNormalizer.php +++ b/src/Normalizer/ActionJsonldActionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineStepJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ActionJsonldActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineStepJsonldReadNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepJsonldRead'; + return 'Gyroscops\\Api\\Model\\ActionJsonldActionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ActionJsonldActionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineStepJsonldRead(); + $object = new \Gyroscops\Api\Model\ActionJsonldActionRead(); if (null === $data || false === \is_array($data)) { return $object; } - 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) { + 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('@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) && $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('configuration', $data) && $data['configuration'] !== 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) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key => $value_1) { 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/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/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/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 68% rename from src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 967511ed..dd5fbe45 100644 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchHydraMappingItem(); 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/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php similarity index 73% rename from src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php rename to src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php index 55bebe75..0b12f337 100644 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraSearch(); 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\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + $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) && $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/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php similarity index 70% rename from src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php rename to src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php index b3989ed2..3eeca8ac 100644 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraViewNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,44 +39,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200HydraView(); 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/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php similarity index 68% rename from src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php rename to src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php index b099f2a3..a125b4ab 100644 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200Normalizer implements De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAdditionalOrganizationsGetLdjsonResponse200(); 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\\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) { - $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView', 'json', $context)); + 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) && $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) { - $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraSearch', 'json', $context)); + 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) && $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/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 69% rename from src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index ef891e52..b5545133 100644 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchHydraMappingItem(); 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/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php similarity index 73% rename from src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php rename to src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php index 104aba92..bb4f107b 100644 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraSearch(); 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\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + $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) && $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/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php similarity index 69% rename from src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php rename to src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php index 1ed8610a..bd454026 100644 --- a/src/Normalizer/RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraViewNormalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,44 +39,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdCompilationsGetLdjsonResponse200HydraView(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200HydraView(); 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/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php similarity index 68% rename from src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php rename to src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php index f1665725..1a4dbfe9 100644 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdAuthorizationsGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200Normalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdAuthorizationsGetLdjsonResponse200(); 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\\VariableJsonldRead', '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) { - $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView', 'json', $context)); + 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) && $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) { - $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch', 'json', $context)); + 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) && $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/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 68% rename from src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 01e56bda..3eff8593 100644 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappin public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchHydraMappingItem(); 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/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php similarity index 73% rename from src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php rename to src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php index 0a582f29..0b2282ff 100644 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraSearch(); 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\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + $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) && $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/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php similarity index 69% rename from src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php rename to src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php index 620a01c5..5eeab693 100644 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraViewNormalizer im public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,44 +39,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView(); + $object = new \Gyroscops\Api\Model\AuthenticationUsersIdWorkspacesGetLdjsonResponse200HydraView(); 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/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/PriceJsonldReadNormalizer.php b/src/Normalizer/BuyablePriceJsonldNormalizer.php similarity index 52% rename from src/Normalizer/PriceJsonldReadNormalizer.php rename to src/Normalizer/BuyablePriceJsonldNormalizer.php index 5cbd7545..7d4f586d 100644 --- a/src/Normalizer/PriceJsonldReadNormalizer.php +++ b/src/Normalizer/BuyablePriceJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PriceJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class BuyablePriceJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PriceJsonldReadNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PriceJsonldRead'; + return 'Gyroscops\\Api\\Model\\BuyablePriceJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PriceJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BuyablePriceJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,46 +39,52 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PriceJsonldRead(); + $object = new \Gyroscops\Api\Model\BuyablePriceJsonld(); 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) { - $object->setType2($this->denormalizer->denormalize($data['type'], 'Gyroscops\\Api\\Model\\SubscriptionTypeJsonldRead', 'json', $context)); + 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) && $data['type'] === null) { + } elseif (\array_key_exists('type', $data) && null === $data['type']) { $object->setType2(null); } - if (\array_key_exists('amount', $data) && $data['amount'] !== null) { - $object->setAmount($data['amount']); + 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) && $data['amount'] === null) { + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { $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; @@ -103,12 +100,17 @@ 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('currency') && null !== $object->getCurrency()) { - $data['currency'] = $object->getCurrency(); + 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)) { diff --git a/src/Normalizer/UserIdJsonldNormalizer.php b/src/Normalizer/BuyablePriceJsonldReadNormalizer.php similarity index 62% rename from src/Normalizer/UserIdJsonldNormalizer.php rename to src/Normalizer/BuyablePriceJsonldReadNormalizer.php index ae02d694..5ce5323b 100644 --- a/src/Normalizer/UserIdJsonldNormalizer.php +++ b/src/Normalizer/BuyablePriceJsonldReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class UserIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class BuyablePriceJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class UserIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\UserIdJsonld'; + return 'Gyroscops\\Api\\Model\\BuyablePriceJsonldRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserIdJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BuyablePriceJsonldRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,33 +39,33 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\UserIdJsonld(); + $object = new \Gyroscops\Api\Model\BuyablePriceJsonldRead(); 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('nil', $data) && $data['nil'] !== null) { - $object->setNil($data['nil']); - unset($data['nil']); - } elseif (\array_key_exists('nil', $data) && $data['nil'] === null) { - $object->setNil(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)) { @@ -91,6 +82,9 @@ public function denormalize($data, $class, $format = null, array $context = []) 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; 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/PriceReadNormalizer.php b/src/Normalizer/BuyablePriceReadNormalizer.php similarity index 64% rename from src/Normalizer/PriceReadNormalizer.php rename to src/Normalizer/BuyablePriceReadNormalizer.php index 582f910f..f577aaeb 100644 --- a/src/Normalizer/PriceReadNormalizer.php +++ b/src/Normalizer/BuyablePriceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PriceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class BuyablePriceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PriceReadNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PriceRead'; + return 'Gyroscops\\Api\\Model\\BuyablePriceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PriceRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\BuyablePriceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PriceRead(); + $object = new \Gyroscops\Api\Model\BuyablePriceRead(); 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']) { $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) && $data['type'] === null) { + } elseif (\array_key_exists('type', $data) && null === $data['type']) { $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; @@ -96,10 +75,6 @@ public function normalize($object, $format = null, array $context = []) } $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; 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/CompilationNormalizer.php b/src/Normalizer/CompilationCompilationReadNormalizer.php similarity index 55% rename from src/Normalizer/CompilationNormalizer.php rename to src/Normalizer/CompilationCompilationReadNormalizer.php index 7a6c0f72..4a96ea02 100644 --- a/src/Normalizer/CompilationNormalizer.php +++ b/src/Normalizer/CompilationCompilationReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class CompilationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CompilationCompilationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class CompilationNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Compilation'; + return 'Gyroscops\\Api\\Model\\CompilationCompilationRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Compilation'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\CompilationCompilationRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,58 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Compilation(); + $object = new \Gyroscops\Api\Model\CompilationCompilationRead(); 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('currentVersion', $data) && $data['currentVersion'] !== null) { + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { $object->setCurrentVersion($data['currentVersion']); unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { $object->setCurrentVersion(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); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); 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('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; @@ -126,15 +99,6 @@ public function normalize($object, $format = null, array $context = []) $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; diff --git a/src/Normalizer/CompilationJsonldNormalizer.php b/src/Normalizer/CompilationJsonldCompilationReadNormalizer.php similarity index 54% rename from src/Normalizer/CompilationJsonldNormalizer.php rename to src/Normalizer/CompilationJsonldCompilationReadNormalizer.php index 5f9319a9..d62c3b94 100644 --- a/src/Normalizer/CompilationJsonldNormalizer.php +++ b/src/Normalizer/CompilationJsonldCompilationReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class CompilationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class CompilationJsonldCompilationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class CompilationJsonldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\CompilationJsonld'; + return 'Gyroscops\\Api\\Model\\CompilationJsonldCompilationRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\CompilationJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\CompilationJsonldCompilationRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,76 +39,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\CompilationJsonld(); + $object = new \Gyroscops\Api\Model\CompilationJsonldCompilationRead(); 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('currentVersion', $data) && $data['currentVersion'] !== null) { + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { $object->setCurrentVersion($data['currentVersion']); unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { + } elseif (\array_key_exists('currentVersion', $data) && null === $data['currentVersion']) { $object->setCurrentVersion(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); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); 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('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; @@ -144,15 +117,6 @@ public function normalize($object, $format = null, array $context = []) $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; 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/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php similarity index 62% rename from src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php rename to src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php index 661275f1..bd397981 100644 --- a/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationChangeConfigurationValueInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationChangeConfigurationValueInputJsonldNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputJsonld'; + return 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,44 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonld(); + $object = new \Gyroscops\Api\Model\ConfigurationChangeConfigurationValueInputJsonldConfigurationUpdate(); 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('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); } - 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; @@ -108,9 +93,6 @@ public function normalize($object, $format = null, array $context = []) } $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; 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/SecretEditNormalizer.php b/src/Normalizer/ConfigurationConfigurationUpdateNormalizer.php similarity index 76% rename from src/Normalizer/SecretEditNormalizer.php rename to src/Normalizer/ConfigurationConfigurationUpdateNormalizer.php index 417a4a82..1d95e259 100644 --- a/src/Normalizer/SecretEditNormalizer.php +++ b/src/Normalizer/ConfigurationConfigurationUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretEditNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationConfigurationUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretEditNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretEdit'; + return 'Gyroscops\\Api\\Model\\ConfigurationConfigurationUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretEdit'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationConfigurationUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretEdit(); + $object = new \Gyroscops\Api\Model\ConfigurationConfigurationUpdate(); 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); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/SecretNormalizer.php b/src/Normalizer/ConfigurationConfigurationViewNormalizer.php similarity index 70% rename from src/Normalizer/SecretNormalizer.php rename to src/Normalizer/ConfigurationConfigurationViewNormalizer.php index 3bef2c1e..f95d6779 100644 --- a/src/Normalizer/SecretNormalizer.php +++ b/src/Normalizer/ConfigurationConfigurationViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationConfigurationViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretNormalizer implements DenormalizerInterface, NormalizerInterface, De public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Secret'; + return 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Secret'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationConfigurationView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,54 +39,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Secret(); + $object = new \Gyroscops\Api\Model\ConfigurationConfigurationView(); 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('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('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('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('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/ConfigurationCreateConfigurationInputNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php similarity index 76% rename from src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php rename to src/Normalizer/ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php index f8d53b75..260f88f8 100644 --- a/src/Normalizer/ConfigurationCreateConfigurationInputNormalizer.php +++ b/src/Normalizer/ConfigurationCreateConfigurationInputConfigurationCreateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationCreateConfigurationInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationCreateConfigurationInputConfigurationCreateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationCreateConfigurationInputNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInput'; + return 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputConfigurationCreate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputConfigurationCreate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigurationCreateConfigurationInput(); + $object = new \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputConfigurationCreate(); 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/ConfigurationCreateConfigurationInputJsonldNormalizer.php b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php similarity index 70% rename from src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php rename to src/Normalizer/ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php index b9e6eff3..af35d8f4 100644 --- a/src/Normalizer/ConfigurationCreateConfigurationInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationCreateConfigurationInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationCreateConfigurationInputJsonldConfigurationCreateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationCreateConfigurationInputJsonldNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputJsonld'; + return 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputJsonldConfigurationCreate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationCreateConfigurationInputJsonldConfigurationCreate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonld(); + $object = new \Gyroscops\Api\Model\ConfigurationCreateConfigurationInputJsonldConfigurationCreate(); 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/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/SecretJsonldEditNormalizer.php b/src/Normalizer/ConfigurationJsonldConfigurationUpdateNormalizer.php similarity index 69% rename from src/Normalizer/SecretJsonldEditNormalizer.php rename to src/Normalizer/ConfigurationJsonldConfigurationUpdateNormalizer.php index 639bec3a..f490eb5c 100644 --- a/src/Normalizer/SecretJsonldEditNormalizer.php +++ b/src/Normalizer/ConfigurationJsonldConfigurationUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretJsonldEditNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationJsonldConfigurationUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretJsonldEditNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretJsonldEdit'; + return 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretJsonldEdit'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretJsonldEdit(); + $object = new \Gyroscops\Api\Model\ConfigurationJsonldConfigurationUpdate(); 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); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/SecretJsonldNormalizer.php b/src/Normalizer/ConfigurationJsonldConfigurationViewNormalizer.php similarity index 66% rename from src/Normalizer/SecretJsonldNormalizer.php rename to src/Normalizer/ConfigurationJsonldConfigurationViewNormalizer.php index 7be7c920..52d502df 100644 --- a/src/Normalizer/SecretJsonldNormalizer.php +++ b/src/Normalizer/ConfigurationJsonldConfigurationViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationJsonldConfigurationViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretJsonldNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretJsonld'; + return 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationJsonldConfigurationView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,72 +39,72 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretJsonld(); + $object = new \Gyroscops\Api\Model\ConfigurationJsonldConfigurationView(); 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('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('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('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('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/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/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/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/ConfigurationRemoveConfigurationValueInputNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php similarity index 78% rename from src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php rename to src/Normalizer/ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php index d3b37c03..f6d520a6 100644 --- a/src/Normalizer/ConfigurationRemoveConfigurationValueInputNormalizer.php +++ b/src/Normalizer/ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationRemoveConfigurationValueInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationRemoveConfigurationValueInputConfigurationUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationRemoveConfigurationValueInputNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInput'; + return 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputConfigurationUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputConfigurationUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,18 +39,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInput(); + $object = new \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputConfigurationUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('contents', $data) && $data['contents'] !== 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) && $data['contents'] === null) { + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { $object->setContents(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php similarity index 71% rename from src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php rename to src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php index 5c202a40..db2115b6 100644 --- a/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationRemoveConfigurationValueInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationRemoveConfigurationValueInputJsonldNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputJsonld'; + return 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonld(); + $object = new \Gyroscops\Api\Model\ConfigurationRemoveConfigurationValueInputJsonldConfigurationUpdate(); 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('contents', $data) && $data['contents'] !== 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) && $data['contents'] === null) { + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { $object->setContents(null); } foreach ($data as $key => $value_1) { 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/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php similarity index 77% rename from src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php index 2e9d409e..0fce1f04 100644 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentAddMultipleVariableFromSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentAddMultipleVariableFromSecretInputNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInput'; + return 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,18 +39,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInput(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputEnvironmentUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInput', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputEnvironmentUpdate', 'json', $context); } $object->setVariables($values); unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php similarity index 72% rename from src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php index cd58819b..f9ab839c 100644 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentAddMultipleVariableFromConfigurationInputJsonldNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputJsonld'; + return 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonld(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInputJsonldEnvironmentUpdate(); 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('variables', $data) && $data['variables'] !== null) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonldEnvironmentUpdate', 'json', $context); } $object->setVariables($values); unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php similarity index 76% rename from src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php index dd8e2338..6581cd59 100644 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentAddMultipleVariableFromConstantInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentAddMultipleVariableFromConstantInputNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInput'; + return 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,18 +39,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInput(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputEnvironmentUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInput', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInputEnvironmentUpdate', 'json', $context); } $object->setVariables($values); unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php similarity index 69% rename from src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php index 2c7f90f2..9f5ea67a 100644 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentAddMultipleVariableFromConstantInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputJsonld'; + return 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonld(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConstantInputJsonldEnvironmentUpdate(); 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('variables', $data) && $data['variables'] !== null) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonldEnvironmentUpdate', 'json', $context); } $object->setVariables($values); unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php similarity index 76% rename from src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php index 27fda4d8..1aac568a 100644 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromConfigurationInputNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentAddMultipleVariableFromConfigurationInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentAddMultipleVariableFromConfigurationInputNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInput'; + return 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromConfigurationInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,18 +39,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromConfigurationInput(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputEnvironmentUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('variables', $data) && $data['variables'] !== null) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigurationInput', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInputEnvironmentUpdate', 'json', $context); } $object->setVariables($values); unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php similarity index 70% rename from src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php rename to src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php index 1928852f..52b5f138 100644 --- a/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentAddMultipleVariableFromSecretInputJsonldNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputJsonld'; + return 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonld(); + $object = new \Gyroscops\Api\Model\EnvironmentAddMultipleVariableFromSecretInputJsonldEnvironmentUpdate(); 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('variables', $data) && $data['variables'] !== null) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonld', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonldEnvironmentUpdate', 'json', $context); } $object->setVariables($values); unset($data['variables']); - } elseif (\array_key_exists('variables', $data) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { 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/EnvironmentCreateEnvironmentInputNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php similarity index 75% rename from src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php rename to src/Normalizer/EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php index 64fdfc77..a41bde20 100644 --- a/src/Normalizer/EnvironmentCreateEnvironmentInputNormalizer.php +++ b/src/Normalizer/EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentCreateEnvironmentInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentCreateEnvironmentInputEnvironmentCreateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentCreateEnvironmentInputNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInput'; + return 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputEnvironmentCreate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputEnvironmentCreate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInput(); + $object = new \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputEnvironmentCreate(); 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('variables', $data) && $data['variables'] !== 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) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php similarity index 70% rename from src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php rename to src/Normalizer/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php index 393cde1a..8e2fa38b 100644 --- a/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentCreateEnvironmentInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentCreateEnvironmentInputJsonldEnvironmentCreateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentCreateEnvironmentInputJsonldNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputJsonld'; + return 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonld(); + $object = new \Gyroscops\Api\Model\EnvironmentCreateEnvironmentInputJsonldEnvironmentCreate(); 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('variables', $data) && $data['variables'] !== 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) && $data['variables'] === null) { + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { $object->setVariables(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentWriteNormalizer.php b/src/Normalizer/EnvironmentEnvironmentUpdateNormalizer.php similarity index 75% rename from src/Normalizer/EnvironmentWriteNormalizer.php rename to src/Normalizer/EnvironmentEnvironmentUpdateNormalizer.php index 715b94ab..13818fdb 100644 --- a/src/Normalizer/EnvironmentWriteNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentWriteNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentWrite'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentWrite(); + $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentUpdate(); 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); } foreach ($data as $key => $value) { 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/EnvironmentJsonldWriteNormalizer.php b/src/Normalizer/EnvironmentJsonldEnvironmentUpdateNormalizer.php similarity index 68% rename from src/Normalizer/EnvironmentJsonldWriteNormalizer.php rename to src/Normalizer/EnvironmentJsonldEnvironmentUpdateNormalizer.php index 0e734f85..b36f9111 100644 --- a/src/Normalizer/EnvironmentJsonldWriteNormalizer.php +++ b/src/Normalizer/EnvironmentJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentJsonldWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class EnvironmentJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentJsonldWriteNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentJsonldWrite'; + return 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentJsonldWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentJsonldWrite(); + $object = new \Gyroscops\Api\Model\EnvironmentJsonldEnvironmentUpdate(); 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); } foreach ($data as $key => $value) { 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/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/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/ExecutionActionNormalizer.php b/src/Normalizer/ExecutionActionExecutionActionReadNormalizer.php similarity index 74% rename from src/Normalizer/ExecutionActionNormalizer.php rename to src/Normalizer/ExecutionActionExecutionActionReadNormalizer.php index 35ecde06..8225d4bd 100644 --- a/src/Normalizer/ExecutionActionNormalizer.php +++ b/src/Normalizer/ExecutionActionExecutionActionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionActionNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionActionExecutionActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionActionNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionAction'; + return 'Gyroscops\\Api\\Model\\ExecutionActionExecutionActionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionAction'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionExecutionActionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionAction(); + $object = new \Gyroscops\Api\Model\ExecutionActionExecutionActionRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && $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/ExecutionActionJsonldNormalizer.php b/src/Normalizer/ExecutionActionJsonldExecutionActionReadNormalizer.php similarity index 69% rename from src/Normalizer/ExecutionActionJsonldNormalizer.php rename to src/Normalizer/ExecutionActionJsonldExecutionActionReadNormalizer.php index bdeb50df..b6c0bf06 100644 --- a/src/Normalizer/ExecutionActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldExecutionActionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionActionJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionActionJsonldExecutionActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionActionJsonldNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionActionJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionActionJsonldExecutionActionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionActionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionJsonldExecutionActionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionActionJsonld(); + $object = new \Gyroscops\Api\Model\ExecutionActionJsonldExecutionActionRead(); 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('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && $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/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/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php rename to src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php index 4a02db24..728b04b8 100644 --- a/src/Normalizer/PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionDeclarePipelineExecutionCommandJsonldExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldReadNormalizer impl public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerPSR4AutoloadCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandJsonldExecutionRead(); 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/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/ExecutionReadNormalizer.php b/src/Normalizer/ExecutionExecutionReadNormalizer.php similarity index 50% rename from src/Normalizer/ExecutionReadNormalizer.php rename to src/Normalizer/ExecutionExecutionReadNormalizer.php index f5d9010e..132259ae 100644 --- a/src/Normalizer/ExecutionReadNormalizer.php +++ b/src/Normalizer/ExecutionExecutionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionRead'; + return 'Gyroscops\\Api\\Model\\ExecutionExecutionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionExecutionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,88 +39,136 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionRead(); + $object = new \Gyroscops\Api\Model\ExecutionExecutionRead(); 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('code', $data) && $data['code'] !== 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) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(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); } - if (\array_key_exists('errors', $data) && $data['errors'] !== null) { + if (\array_key_exists('errors', $data) && null !== $data['errors']) { $object->setErrors($data['errors']); unset($data['errors']); - } elseif (\array_key_exists('errors', $data) && $data['errors'] === null) { + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { $object->setErrors(null); } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); unset($data['scheduledAt']); - } elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); unset($data['startedAt']); - } elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); unset($data['finishedAt']); - } elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); unset($data['interruptedAt']); - } elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); unset($data['resumedAt']); - } elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); unset($data['updatedAt']); - } elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); unset($data['terminatedAt']); - } elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { $object->setCurrentVersion($data['currentVersion']); unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { + } 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; @@ -146,6 +185,9 @@ 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(); @@ -172,6 +214,15 @@ public function normalize($object, $format = null, array $context = []) 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; 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/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php similarity index 69% rename from src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php rename to src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php index 60b75204..f8cb1171 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionInterruptPipelineExecutionCommandJsonldExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandJsonldExecutionRead(); 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/ExecutionJsonldReadNormalizer.php b/src/Normalizer/ExecutionJsonldExecutionReadNormalizer.php similarity index 50% rename from src/Normalizer/ExecutionJsonldReadNormalizer.php rename to src/Normalizer/ExecutionJsonldExecutionReadNormalizer.php index ee06ea40..fdd11b94 100644 --- a/src/Normalizer/ExecutionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionJsonldExecutionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionJsonldExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionJsonldReadNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionJsonldExecutionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionJsonldExecutionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,106 +39,154 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionJsonldRead(); + $object = new \Gyroscops\Api\Model\ExecutionJsonldExecutionRead(); 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('code', $data) && $data['code'] !== 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) && $data['code'] === null) { + } elseif (\array_key_exists('code', $data) && null === $data['code']) { $object->setCode(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); } - if (\array_key_exists('errors', $data) && $data['errors'] !== null) { + if (\array_key_exists('errors', $data) && null !== $data['errors']) { $object->setErrors($data['errors']); unset($data['errors']); - } elseif (\array_key_exists('errors', $data) && $data['errors'] === null) { + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { $object->setErrors(null); } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); unset($data['scheduledAt']); - } elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); unset($data['startedAt']); - } elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); unset($data['finishedAt']); - } elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); unset($data['interruptedAt']); - } elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); unset($data['resumedAt']); - } elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); unset($data['updatedAt']); - } elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); unset($data['terminatedAt']); - } elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); unset($data['reason']); - } elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } - if (\array_key_exists('currentVersion', $data) && $data['currentVersion'] !== null) { + if (\array_key_exists('currentVersion', $data) && null !== $data['currentVersion']) { $object->setCurrentVersion($data['currentVersion']); unset($data['currentVersion']); - } elseif (\array_key_exists('currentVersion', $data) && $data['currentVersion'] === null) { + } 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; @@ -164,6 +203,9 @@ 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(); @@ -190,6 +232,15 @@ public function normalize($object, $format = null, array $context = []) 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; diff --git a/src/Normalizer/ExecutionPipelineNormalizer.php b/src/Normalizer/ExecutionPipelineExecutionPipelineReadNormalizer.php similarity index 74% rename from src/Normalizer/ExecutionPipelineNormalizer.php rename to src/Normalizer/ExecutionPipelineExecutionPipelineReadNormalizer.php index b7979ffb..1a889f7d 100644 --- a/src/Normalizer/ExecutionPipelineNormalizer.php +++ b/src/Normalizer/ExecutionPipelineExecutionPipelineReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionPipelineNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionPipelineExecutionPipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionPipelineNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipeline'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipeline'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineExecutionPipelineRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionPipeline(); + $object = new \Gyroscops\Api\Model\ExecutionPipelineExecutionPipelineRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && $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/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/ExecutionPipelineJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php similarity index 69% rename from src/Normalizer/ExecutionPipelineJsonldNormalizer.php rename to src/Normalizer/ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php index becc529c..22ea44af 100644 --- a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJsonldExecutionPipelineReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionPipelineJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionPipelineJsonldExecutionPipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionPipelineJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonldExecutionPipelineRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionPipelineJsonld(); + $object = new \Gyroscops\Api\Model\ExecutionPipelineJsonldExecutionPipelineRead(); 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('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data) && $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/ExecutionPipelineStepNormalizer.php b/src/Normalizer/ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php similarity index 53% rename from src/Normalizer/ExecutionPipelineStepNormalizer.php rename to src/Normalizer/ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php index b8015e5d..b5641b3f 100644 --- a/src/Normalizer/ExecutionPipelineStepNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepExecutionPipelineStepReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionPipelineStepNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionPipelineStepExecutionPipelineStepReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionPipelineStepNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineStep'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineStep'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineStepExecutionPipelineStepRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,35 +39,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionPipelineStep(); + $object = new \Gyroscops\Api\Model\ExecutionPipelineStepExecutionPipelineStepRead(); 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('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); + 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) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('metrics', $data) && $data['metrics'] !== null) { - $values = []; - foreach ($data['metrics'] as $value) { - $values[] = $value; + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { + $values_1 = []; + foreach ($data['metrics'] as $value_1) { + $values_1[] = $value_1; } - $object->setMetrics($values); + $object->setMetrics($values_1); unset($data['metrics']); - } elseif (\array_key_exists('metrics', $data) && $data['metrics'] === null) { + } 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; + foreach ($data as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $object[$key_1] = $value_2; } } @@ -89,17 +84,21 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); + $values = []; + foreach ($object->getPipeline() as $key => $value) { + $values[$key] = $value; + } + $data['pipeline'] = $values; if ($object->isInitialized('metrics') && null !== $object->getMetrics()) { - $values = []; - foreach ($object->getMetrics() as $value) { - $values[] = $value; + $values_1 = []; + foreach ($object->getMetrics() as $value_1) { + $values_1[] = $value_1; } - $data['metrics'] = $values; + $data['metrics'] = $values_1; } - foreach ($object as $key => $value_1) { - if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; + foreach ($object as $key_1 => $value_2) { + if (preg_match('/.*/', (string) $key_1)) { + $data[$key_1] = $value_2; } } diff --git a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php similarity index 69% rename from src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php rename to src/Normalizer/ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php index 07d8c352..771e2430 100644 --- a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionPipelineStepJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionPipelineStepJsonldExecutionPipelineStepReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionPipelineStepJsonldNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonldExecutionPipelineStepRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonldExecutionPipelineStepRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionPipelineStepJsonld(); + $object = new \Gyroscops\Api\Model\ExecutionPipelineStepJsonldExecutionPipelineStepRead(); 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('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); + 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) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('metrics', $data) && $data['metrics'] !== 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) && $data['metrics'] === null) { + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { $object->setMetrics(null); } foreach ($data as $key => $value_1) { 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/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php similarity index 70% rename from src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php rename to src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php index 033bf1c8..07ade3ca 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionResumePipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionResumePipelineExecutionCommandJsonldExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionResumePipelineExecutionCommandJsonldReadNormalizer implements Den public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldExecutionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldExecutionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandJsonldExecutionRead(); 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/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/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php similarity index 69% rename from src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php rename to src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php index f6ab6d36..78985e8c 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionTerminatePipelineExecutionCommandJsonldExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandJsonldExecutionRead(); 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/ExecutionWorkflowNormalizer.php b/src/Normalizer/ExecutionWorkflowExecutionWorkflowReadNormalizer.php similarity index 74% rename from src/Normalizer/ExecutionWorkflowNormalizer.php rename to src/Normalizer/ExecutionWorkflowExecutionWorkflowReadNormalizer.php index 3575336f..4f81b075 100644 --- a/src/Normalizer/ExecutionWorkflowNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowExecutionWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionWorkflowNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionWorkflowExecutionWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionWorkflowNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflow'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflow'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowExecutionWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionWorkflow(); + $object = new \Gyroscops\Api\Model\ExecutionWorkflowExecutionWorkflowRead(); 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('jobs', $data) && $data['jobs'] !== 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) && $data['jobs'] === null) { + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { $object->setJobs(null); } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } foreach ($data as $key => $value_1) { 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/ExecutionWorkflowJobNormalizer.php b/src/Normalizer/ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php similarity index 70% rename from src/Normalizer/ExecutionWorkflowJobNormalizer.php rename to src/Normalizer/ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php index 5c764e41..6f4be829 100644 --- a/src/Normalizer/ExecutionWorkflowJobNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionWorkflowJobNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionWorkflowJobExecutionWorkflowJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionWorkflowJobNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobExecutionWorkflowJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobExecutionWorkflowJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionWorkflowJob(); + $object = new \Gyroscops\Api\Model\ExecutionWorkflowJobExecutionWorkflowJobRead(); 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('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); 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']) { $object->setAction($data['action']); unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php similarity index 66% rename from src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php rename to src/Normalizer/ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php index 2061431c..92db1117 100644 --- a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionWorkflowJobJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionWorkflowJobJsonldExecutionWorkflowJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionWorkflowJobJsonldNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,50 +39,50 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionWorkflowJobJsonld(); + $object = new \Gyroscops\Api\Model\ExecutionWorkflowJobJsonldExecutionWorkflowJobRead(); 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('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); unset($data['workflow']); - } elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); 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']) { $object->setAction($data['action']); unset($data['action']); - } elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php similarity index 69% rename from src/Normalizer/ExecutionWorkflowJsonldNormalizer.php rename to src/Normalizer/ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php index 31c16eab..93e25c41 100644 --- a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ExecutionWorkflowJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionWorkflowJsonldExecutionWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ExecutionWorkflowJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonldExecutionWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ExecutionWorkflowJsonld(); + $object = new \Gyroscops\Api\Model\ExecutionWorkflowJsonldExecutionWorkflowRead(); 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('jobs', $data) && $data['jobs'] !== 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) && $data['jobs'] === null) { + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { $object->setJobs(null); } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); unset($data['execution']); - } elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } foreach ($data as $key => $value_1) { 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/PipelineCompilePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php similarity index 68% rename from src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php rename to src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php index e763a2e2..28327e45 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineCompilePipelineCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineCompilePipelineCommandInputJsonldNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\ExecutionWorkflowResumeWorkflowExecutionCommandJsonldExecutionWorkflowRead(); 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/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/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 69% rename from src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index c7820850..7e4c9722 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydra public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem(); 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/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php similarity index 74% rename from src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php rename to src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php index 4a82ff8c..66510419 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchNorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraSearch(); 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\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + $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) && $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/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php similarity index 70% rename from src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php rename to src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php index 6f4073e5..3e79158c 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraViewNormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,44 +39,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView(); + $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200HydraView(); 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/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php similarity index 73% rename from src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php rename to src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php index 2edb91b2..8f667089 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200Normalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200(); + $object = new \Gyroscops\Api\Model\GatewayAkeneoLinkedAccountsAkeneoUserIdGetLdjsonResponse200(); 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) { - $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraView', 'json', $context)); + 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) && $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) { - $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetLdjsonResponse200HydraSearch', 'json', $context)); + 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) && $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/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/OpaqueInterfaceJsonldSecretUpdateNormalizer.php similarity index 72% rename from src/Normalizer/OpaqueInterfaceJsonldNormalizer.php rename to src/Normalizer/OpaqueInterfaceJsonldSecretUpdateNormalizer.php index 74e4444d..8465275f 100644 --- a/src/Normalizer/OpaqueInterfaceJsonldNormalizer.php +++ b/src/Normalizer/OpaqueInterfaceJsonldSecretUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class OpaqueInterfaceJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class OpaqueInterfaceJsonldSecretUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class OpaqueInterfaceJsonldNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonld'; + return 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonldSecretUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonldSecretUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\OpaqueInterfaceJsonld(); + $object = new \Gyroscops\Api\Model\OpaqueInterfaceJsonldSecretUpdate(); 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/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/OrganizationJsonldOrganizationReadNormalizer.php similarity index 72% rename from src/Normalizer/OrganizationJsonldNormalizer.php rename to src/Normalizer/OrganizationJsonldOrganizationReadNormalizer.php index 4c2648b1..4afd7f20 100644 --- a/src/Normalizer/OrganizationJsonldNormalizer.php +++ b/src/Normalizer/OrganizationJsonldOrganizationReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class OrganizationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class OrganizationJsonldOrganizationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class OrganizationJsonldNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\OrganizationJsonld'; + return 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OrganizationJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OrganizationJsonldOrganizationRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,96 +39,96 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\OrganizationJsonld(); + $object = new \Gyroscops\Api\Model\OrganizationJsonldOrganizationRead(); 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('authorizations', $data) && $data['authorizations'] !== 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) && $data['authorizations'] === null) { + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { $object->setAuthorizations(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('stripeCode', $data) && $data['stripeCode'] !== null) { + if (\array_key_exists('stripeCode', $data) && null !== $data['stripeCode']) { $object->setStripeCode($data['stripeCode']); unset($data['stripeCode']); - } elseif (\array_key_exists('stripeCode', $data) && $data['stripeCode'] === null) { + } elseif (\array_key_exists('stripeCode', $data) && null === $data['stripeCode']) { $object->setStripeCode(null); } - if (\array_key_exists('users', $data) && $data['users'] !== 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) && $data['users'] === null) { + } elseif (\array_key_exists('users', $data) && null === $data['users']) { $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] !== 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) && $data['externalCollaborators'] === null) { + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== 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) && $data['workspaces'] === null) { + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { $object->setWorkspaces(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_4) { 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/OrganizationOrganizationReadNormalizer.php similarity index 75% rename from src/Normalizer/OrganizationNormalizer.php rename to src/Normalizer/OrganizationOrganizationReadNormalizer.php index 16f3c3f1..d751ad08 100644 --- a/src/Normalizer/OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationOrganizationReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class OrganizationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class OrganizationOrganizationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class OrganizationNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Organization'; + return 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Organization'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\OrganizationOrganizationRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,78 +39,78 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Organization(); + $object = new \Gyroscops\Api\Model\OrganizationOrganizationRead(); 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('authorizations', $data) && $data['authorizations'] !== 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) && $data['authorizations'] === null) { + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { $object->setAuthorizations(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('stripeCode', $data) && $data['stripeCode'] !== null) { + if (\array_key_exists('stripeCode', $data) && null !== $data['stripeCode']) { $object->setStripeCode($data['stripeCode']); unset($data['stripeCode']); - } elseif (\array_key_exists('stripeCode', $data) && $data['stripeCode'] === null) { + } elseif (\array_key_exists('stripeCode', $data) && null === $data['stripeCode']) { $object->setStripeCode(null); } - if (\array_key_exists('users', $data) && $data['users'] !== 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) && $data['users'] === null) { + } elseif (\array_key_exists('users', $data) && null === $data['users']) { $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data) && $data['externalCollaborators'] !== 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) && $data['externalCollaborators'] === null) { + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data) && $data['workspaces'] !== 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) && $data['workspaces'] === null) { + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { $object->setWorkspaces(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_4) { 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/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php similarity index 70% rename from src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php index 9453475b..61b0ad3e 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddAfterPipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddAfterPipelineStepCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddAfterPipelineStepCommandJsonldReadNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonldPipelineWrite(); 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/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/VariableFromSecretJsonldWriteNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php similarity index 69% rename from src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php rename to src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php index 753d4f1b..9f497c69 100644 --- a/src/Normalizer/VariableFromSecretJsonldWriteNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromSecretJsonldWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddBeforePipelineStepCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromSecretJsonldWriteNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldWrite'; + return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromSecretJsonldWrite(); + $object = new \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonldPipelineWrite(); 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/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index 3216f425..11019647 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddBeforePipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddBeforePipelineStepCommandJsonldReadNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandJsonldPipelineReadPipelineSubresourceRead(); 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/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/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/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/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 69% rename from src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index 58809651..cc8a477f 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddPipelineComposerPackageCommandJsonldReadNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerPackageCommandJsonldPipelineReadPipelineSubresourceRead(); 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/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/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php similarity index 69% rename from src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php index cb2d78b7..54026000 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer impleme public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandInputJsonldPipelineWrite(); 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/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/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/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php similarity index 70% rename from src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php index 5dbf5968..75ae855f 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddPipelineStepProbeCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAddPipelineStepProbeCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddPipelineStepProbeCommandJsonldReadNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAddPipelineStepProbeCommandInputJsonldPipelineWrite(); 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/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/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php similarity index 70% rename from src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php index 79381418..d2187da7 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAppendPipelineStepCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowScheduleImmediateCommandJsonldReadNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonldPipelineWrite(); 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/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index e8779e4d..5cf2c360 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAppendPipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAppendPipelineStepCommandJsonldReadNormalizer implements Denormali public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead(); 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/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php similarity index 71% rename from src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php index d635048d..d4a713a5 100644 --- a/src/Normalizer/PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineCompilePipelineCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineComposerPackageCommandJsonldReadNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonldPipelineWrite(); 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/PipelineCompilePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index b2cabe7f..353fd898 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineCompilePipelineCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineCompilePipelineCommandJsonldReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineCompilePipelineCommandJsonldPipelineReadPipelineSubresourceRead(); 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/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/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php similarity index 71% rename from src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php index 0e7efca7..40bcd912 100644 --- a/src/Normalizer/PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineDeclarePipelineCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddPipelineComposerRepositoryCommandJsonldReadNormalizer implement public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerRepositoryCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerRepositoryCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonldPipelineWrite(); 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/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/PipelineDeclarePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index ccc18a45..ad9bc131 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineCommandJsonldReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineCommandJsonldPipelineReadPipelineSubresourceRead(); 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/PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php similarity index 69% rename from src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php index 6a32494b..5f6958ae 100644 --- a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineScheduleOnceCommandJsonldReadNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonldPipelineWrite(); 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/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/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/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/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/WorkflowJsonldReadNormalizer.php b/src/Normalizer/PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 61% rename from src/Normalizer/WorkflowJsonldReadNormalizer.php rename to src/Normalizer/PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php index f1fa10c0..50f42f40 100644 --- a/src/Normalizer/WorkflowJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJsonldReadNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,113 +39,107 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineJsonldPipelineReadPipelineSubresourceRead(); 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) { - $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) && 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) && $data['isSoftDeleted'] !== null) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { $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('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) && $data['autoload'] !== 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) && $data['autoload'] === null) { + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { $object->setAutoload(null); } - if (\array_key_exists('packages', $data) && $data['packages'] !== 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) && $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[] = $value_2; } $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('auths', $data) && $data['auths'] !== 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) && $data['auths'] === null) { + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { $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('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('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('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('jobs', $data) && $data['jobs'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_4 = []; - foreach ($data['jobs'] as $value_4) { - $values_4[] = $this->denormalizer->denormalize($value_4, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); + foreach ($data['steps'] as $value_4) { + $values_4[] = $value_4; } - $object->setJobs($values_4); - unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { - $object->setJobs(null); + $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)) { @@ -171,12 +156,15 @@ public function denormalize($data, $class, $format = null, array $context = []) 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('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { $data['isSoftDeleted'] = $object->getIsSoftDeleted(); } - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); + 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) { @@ -194,18 +182,14 @@ public function normalize($object, $format = null, array $context = []) $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()) { + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { $values_3 = []; - foreach ($object->getJobs() as $value_3) { - $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); + foreach ($object->getSteps() as $value_3) { + $values_3[] = $value_3; } - $data['jobs'] = $values_3; + $data['steps'] = $values_3; } foreach ($object as $key => $value_4) { if (preg_match('/.*/', (string) $key)) { 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/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index ed06e758..72d85862 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandJsonldPipelineReadPipelineSubresourceRead(); 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/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/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/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/WorkflowReadNormalizer.php b/src/Normalizer/PipelinePipelineReadPipelineSubresourceReadNormalizer.php similarity index 63% rename from src/Normalizer/WorkflowReadNormalizer.php rename to src/Normalizer/PipelinePipelineReadPipelineSubresourceReadNormalizer.php index 4cc8a565..2f279112 100644 --- a/src/Normalizer/WorkflowReadNormalizer.php +++ b/src/Normalizer/PipelinePipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelinePipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowRead'; + return 'Gyroscops\\Api\\Model\\PipelinePipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelinePipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,95 +39,89 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowRead(); + $object = new \Gyroscops\Api\Model\PipelinePipelineReadPipelineSubresourceRead(); 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('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) && $data['isSoftDeleted'] !== null) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { $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('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) && $data['autoload'] !== 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) && $data['autoload'] === null) { + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { $object->setAutoload(null); } - if (\array_key_exists('packages', $data) && $data['packages'] !== 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) && $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[] = $value_2; } $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('auths', $data) && $data['auths'] !== 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) && $data['auths'] === null) { + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { $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('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('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('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('jobs', $data) && $data['jobs'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_4 = []; - foreach ($data['jobs'] as $value_4) { - $values_4[] = $this->denormalizer->denormalize($value_4, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json', $context); + foreach ($data['steps'] as $value_4) { + $values_4[] = $value_4; } - $object->setJobs($values_4); - unset($data['jobs']); - } elseif (\array_key_exists('jobs', $data) && $data['jobs'] === null) { - $object->setJobs(null); + $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)) { @@ -153,12 +138,15 @@ public function denormalize($data, $class, $format = null, array $context = []) 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('isSoftDeleted') && null !== $object->getIsSoftDeleted()) { $data['isSoftDeleted'] = $object->getIsSoftDeleted(); } - $data['code'] = $object->getCode(); - $data['label'] = $object->getLabel(); + 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) { @@ -176,18 +164,14 @@ public function normalize($object, $format = null, array $context = []) $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()) { + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + if ($object->isInitialized('steps') && null !== $object->getSteps()) { $values_3 = []; - foreach ($object->getJobs() as $value_3) { - $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); + foreach ($object->getSteps() as $value_3) { + $values_3[] = $value_3; } - $data['jobs'] = $values_3; + $data['steps'] = $values_3; } foreach ($object as $key => $value_4) { if (preg_match('/.*/', (string) $key)) { 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/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php similarity index 69% rename from src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php index 73ce634b..02184d86 100644 --- a/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineComposerAuthCommandJsonldReadNormalizer implements D public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerAuthCommandJsonldPipelineReadPipelineSubresourceRead(); 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/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/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/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php similarity index 69% rename from src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php index 0ee6cdd7..3ea43c35 100644 --- a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineComposerRepositoryCommandJsonldReadNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerPackageCommandInputJsonldPipelineWrite(); 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/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/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/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/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/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php similarity index 70% rename from src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php index 6cdccb08..1011c938 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReorderPipelineStepsCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineReorderPipelineStepsCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReorderPipelineStepsCommandJsonldReadNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonldPipelineWrite(); 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/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/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php similarity index 70% rename from src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php rename to src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php index d330c76d..cb2fc67f 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReplacePipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineReplacePipelineStepCommandInputJsonldPipelineWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReplacePipelineStepCommandJsonldReadNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonldPipelineWrite(); 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/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/PipelineStepNormalizer.php b/src/Normalizer/PipelineStepJobReadNormalizer.php similarity index 67% rename from src/Normalizer/PipelineStepNormalizer.php rename to src/Normalizer/PipelineStepJobReadNormalizer.php index 6cfd25d8..1938b8ac 100644 --- a/src/Normalizer/PipelineStepNormalizer.php +++ b/src/Normalizer/PipelineStepJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineStepNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineStepJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineStepNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineStep'; + return 'Gyroscops\\Api\\Model\\PipelineStepJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStep'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,58 +39,52 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineStep(); + $object = new \Gyroscops\Api\Model\PipelineStepJobRead(); 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('order', $data) && $data['order'] !== null) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); unset($data['order']); - } elseif (\array_key_exists('order', $data) && $data['order'] === null) { + } elseif (\array_key_exists('order', $data) && null === $data['order']) { $object->setOrder(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('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); + 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) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('probes', $data) && $data['probes'] !== 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) && $data['probes'] === null) { + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { $object->setProbes(null); } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== 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) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key => $value_2) { diff --git a/src/Normalizer/PipelineStepJsonldNormalizer.php b/src/Normalizer/PipelineStepJsonldJobReadNormalizer.php similarity index 64% rename from src/Normalizer/PipelineStepJsonldNormalizer.php rename to src/Normalizer/PipelineStepJsonldJobReadNormalizer.php index 02b0356a..fa333982 100644 --- a/src/Normalizer/PipelineStepJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepJsonldJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineStepJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineStepJsonldJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineStepJsonldNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,76 +39,70 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineStepJsonld(); + $object = new \Gyroscops\Api\Model\PipelineStepJsonldJobRead(); 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); - } - 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) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); unset($data['order']); - } elseif (\array_key_exists('order', $data) && $data['order'] === null) { + } elseif (\array_key_exists('order', $data) && null === $data['order']) { $object->setOrder(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('pipeline', $data) && $data['pipeline'] !== null) { - $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); + 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) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('probes', $data) && $data['probes'] !== 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) && $data['probes'] === null) { + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { $object->setProbes(null); } - if (\array_key_exists('configuration', $data) && $data['configuration'] !== 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) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key => $value_2) { 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/PipelineStepProbeJsonldNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldStepProbeReadNormalizer.php similarity index 61% rename from src/Normalizer/PipelineStepProbeJsonldNormalizer.php rename to src/Normalizer/PipelineStepProbeJsonldStepProbeReadNormalizer.php index 40e6b106..db47f1fc 100644 --- a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepProbeJsonldStepProbeReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineStepProbeJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineStepProbeJsonldStepProbeReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineStepProbeJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonldStepProbeRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonldStepProbeRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,56 +39,50 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineStepProbeJsonld(); + $object = new \Gyroscops\Api\Model\PipelineStepProbeJsonldStepProbeRead(); 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('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('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) { + 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('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); } foreach ($data as $key => $value) { @@ -116,7 +101,6 @@ 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) { diff --git a/src/Normalizer/PipelineStepProbeNormalizer.php b/src/Normalizer/PipelineStepProbeStepProbeReadNormalizer.php similarity index 64% rename from src/Normalizer/PipelineStepProbeNormalizer.php rename to src/Normalizer/PipelineStepProbeStepProbeReadNormalizer.php index 715acfee..5a01ac6d 100644 --- a/src/Normalizer/PipelineStepProbeNormalizer.php +++ b/src/Normalizer/PipelineStepProbeStepProbeReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineStepProbeNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class PipelineStepProbeStepProbeReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineStepProbeNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepProbe'; + return 'Gyroscops\\Api\\Model\\PipelineStepProbeStepProbeRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepProbe'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepProbeStepProbeRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineStepProbe(); + $object = new \Gyroscops\Api\Model\PipelineStepProbeStepProbeRead(); 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('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('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) { + 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('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); } foreach ($data as $key => $value) { @@ -98,7 +83,6 @@ 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) { 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/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/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/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/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php similarity index 68% rename from src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php rename to src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php index 25b5a942..0cdfb2e9 100644 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMapp public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,32 +39,32 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem(); + $object = new \Gyroscops\Api\Model\RuntimeTemplatesGetLdjsonResponse200HydraSearchHydraMappingItem(); 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/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php similarity index 73% rename from src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php rename to src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php index 629159ac..2e5571a5 100644 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeTemplatesGetLdjsonResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchNormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraSearch' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraSearch' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearch(); + $object = new \Gyroscops\Api\Model\RuntimeTemplatesGetLdjsonResponse200HydraSearch(); 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\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraSearchHydraMappingItem', 'json', $context); + $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) && $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/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php similarity index 69% rename from src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php rename to src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php index 712f7d96..440bd03b 100644 --- a/src/Normalizer/EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeTemplatesGetLdjsonResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraViewNormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200HydraView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,44 +39,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentEnvironmentsIdVariablesGetLdjsonResponse200HydraView(); + $object = new \Gyroscops\Api\Model\RuntimeTemplatesGetLdjsonResponse200HydraView(); 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/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200Normalizer.php similarity index 68% rename from src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php rename to src/Normalizer/RuntimeTemplatesGetLdjsonResponse200Normalizer.php index ce76393f..e897a675 100644 --- a/src/Normalizer/RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeTemplatesGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeTemplatesGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200Normalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeTemplatesGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200(); + $object = new \Gyroscops\Api\Model\RuntimeTemplatesGetLdjsonResponse200(); 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\\TemplateJsonldTemplateList', '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) { - $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraView', 'json', $context)); + 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) && $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) { - $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsIdWorkflowsJobsGetLdjsonResponse200HydraSearch', 'json', $context)); + 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) && $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/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/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php similarity index 71% rename from src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php rename to src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php index e35ab746..f7588cd1 100644 --- a/src/Normalizer/RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class RuntimeWorkflowsActionsGetLdjsonResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class RuntimeWorkflowsIdSchedulesGetLdjsonResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsActionsGetLdjsonResponse200' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200(); + $object = new \Gyroscops\Api\Model\RuntimeWorkflowsActionsGetLdjsonResponse200(); 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\\WorkflowJobActionJsonldActionRead', '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) { - $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraView', 'json', $context)); + 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) && $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) { - $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsIdSchedulesGetLdjsonResponse200HydraSearch', 'json', $context)); + 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) && $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/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/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/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/VariableFromConstantJsonldWriteNormalizer.php b/src/Normalizer/ScheduleTypeJsonldScheduleReadNormalizer.php similarity index 69% rename from src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php rename to src/Normalizer/ScheduleTypeJsonldScheduleReadNormalizer.php index a4a9def6..fa85bfd5 100644 --- a/src/Normalizer/VariableFromConstantJsonldWriteNormalizer.php +++ b/src/Normalizer/ScheduleTypeJsonldScheduleReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConstantJsonldWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class ScheduleTypeJsonldScheduleReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConstantJsonldWriteNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldWrite'; + return 'Gyroscops\\Api\\Model\\ScheduleTypeJsonldScheduleRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldWrite'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleTypeJsonldScheduleRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConstantJsonldWrite(); + $object = new \Gyroscops\Api\Model\ScheduleTypeJsonldScheduleRead(); 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/SecretChangeSecretValueInputJsonldNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php similarity index 71% rename from src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php rename to src/Normalizer/SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php index f273f498..7a8de3c6 100644 --- a/src/Normalizer/SecretChangeSecretValueInputJsonldNormalizer.php +++ b/src/Normalizer/SecretChangeSecretValueInputJsonldSecretUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretChangeSecretValueInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretChangeSecretValueInputJsonldSecretUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretChangeSecretValueInputJsonldNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputJsonld'; + return 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputJsonldSecretUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputJsonldSecretUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonld(); + $object = new \Gyroscops\Api\Model\SecretChangeSecretValueInputJsonldSecretUpdate(); 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('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] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonld', 'json', $context); + $values[$key] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OpaqueInterfaceJsonldSecretUpdate', 'json', $context); } $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/SecretChangeSecretValueInputNormalizer.php b/src/Normalizer/SecretChangeSecretValueInputSecretUpdateNormalizer.php similarity index 82% rename from src/Normalizer/SecretChangeSecretValueInputNormalizer.php rename to src/Normalizer/SecretChangeSecretValueInputSecretUpdateNormalizer.php index 0cb1893f..279a6598 100644 --- a/src/Normalizer/SecretChangeSecretValueInputNormalizer.php +++ b/src/Normalizer/SecretChangeSecretValueInputSecretUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretChangeSecretValueInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretChangeSecretValueInputSecretUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretChangeSecretValueInputNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInput'; + return 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputSecretUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretChangeSecretValueInputSecretUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,11 +39,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretChangeSecretValueInput(); + $object = new \Gyroscops\Api\Model\SecretChangeSecretValueInputSecretUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - 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_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -63,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) } $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_2 => $value_2) { diff --git a/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php b/src/Normalizer/SecretCreateSecretInputJsonldSecretCreateNormalizer.php similarity index 71% rename from src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php rename to src/Normalizer/SecretCreateSecretInputJsonldSecretCreateNormalizer.php index f4636b30..65c81e58 100644 --- a/src/Normalizer/SecretCreateSecretInputJsonldNormalizer.php +++ b/src/Normalizer/SecretCreateSecretInputJsonldSecretCreateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretCreateSecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretCreateSecretInputJsonldSecretCreateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretCreateSecretInputJsonldNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretCreateSecretInputJsonld'; + return 'Gyroscops\\Api\\Model\\SecretCreateSecretInputJsonldSecretCreate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretCreateSecretInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretCreateSecretInputJsonldSecretCreate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretCreateSecretInputJsonld(); + $object = new \Gyroscops\Api\Model\SecretCreateSecretInputJsonldSecretCreate(); 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/SecretCreateSecretInputNormalizer.php b/src/Normalizer/SecretCreateSecretInputSecretCreateNormalizer.php similarity index 77% rename from src/Normalizer/SecretCreateSecretInputNormalizer.php rename to src/Normalizer/SecretCreateSecretInputSecretCreateNormalizer.php index 9ce3230b..cf5b1b0d 100644 --- a/src/Normalizer/SecretCreateSecretInputNormalizer.php +++ b/src/Normalizer/SecretCreateSecretInputSecretCreateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretCreateSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretCreateSecretInputSecretCreateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretCreateSecretInputNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretCreateSecretInput'; + return 'Gyroscops\\Api\\Model\\SecretCreateSecretInputSecretCreate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretCreateSecretInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretCreateSecretInputSecretCreate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretCreateSecretInput(); + $object = new \Gyroscops\Api\Model\SecretCreateSecretInputSecretCreate(); 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/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/ConfigurationJsonldNormalizer.php b/src/Normalizer/SecretJsonldSecretReadNormalizer.php similarity index 66% rename from src/Normalizer/ConfigurationJsonldNormalizer.php rename to src/Normalizer/SecretJsonldSecretReadNormalizer.php index 496024ef..2445d367 100644 --- a/src/Normalizer/ConfigurationJsonldNormalizer.php +++ b/src/Normalizer/SecretJsonldSecretReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretJsonldSecretReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationJsonldNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ConfigurationJsonld'; + return 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigurationJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretJsonldSecretRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,72 +39,72 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ConfigurationJsonld(); + $object = new \Gyroscops\Api\Model\SecretJsonldSecretRead(); 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('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('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('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('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/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/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/SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php similarity index 72% rename from src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php rename to src/Normalizer/SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php index 84e909ba..343019ef 100644 --- a/src/Normalizer/SecretRemoveSecretValueInputJsonldNormalizer.php +++ b/src/Normalizer/SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretRemoveSecretValueInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretRemoveSecretValueInputJsonldSecretUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretRemoveSecretValueInputJsonldNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputJsonld'; + return 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputJsonldSecretUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputJsonldSecretUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonld(); + $object = new \Gyroscops\Api\Model\SecretRemoveSecretValueInputJsonldSecretUpdate(); 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('contents', $data) && $data['contents'] !== 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) && $data['contents'] === null) { + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { $object->setContents(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php b/src/Normalizer/SecretRemoveSecretValueInputSecretUpdateNormalizer.php similarity index 79% rename from src/Normalizer/SecretRemoveSecretValueInputNormalizer.php rename to src/Normalizer/SecretRemoveSecretValueInputSecretUpdateNormalizer.php index 32ffd515..4633ecc0 100644 --- a/src/Normalizer/SecretRemoveSecretValueInputNormalizer.php +++ b/src/Normalizer/SecretRemoveSecretValueInputSecretUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretRemoveSecretValueInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretRemoveSecretValueInputSecretUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class SecretRemoveSecretValueInputNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInput'; + return 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputSecretUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretRemoveSecretValueInputSecretUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,18 +39,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretRemoveSecretValueInput(); + $object = new \Gyroscops\Api\Model\SecretRemoveSecretValueInputSecretUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('contents', $data) && $data['contents'] !== 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) && $data['contents'] === null) { + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { $object->setContents(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/ConfigurationNormalizer.php b/src/Normalizer/SecretSecretReadNormalizer.php similarity index 70% rename from src/Normalizer/ConfigurationNormalizer.php rename to src/Normalizer/SecretSecretReadNormalizer.php index e50993f2..2040ee0e 100644 --- a/src/Normalizer/ConfigurationNormalizer.php +++ b/src/Normalizer/SecretSecretReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ConfigurationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class SecretSecretReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ConfigurationNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Configuration'; + return 'Gyroscops\\Api\\Model\\SecretSecretRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Configuration'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\SecretSecretRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,54 +39,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Configuration(); + $object = new \Gyroscops\Api\Model\SecretSecretRead(); 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('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('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('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('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/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/WorkflowJobPipelineNormalizer.php b/src/Normalizer/TemplateDeclareSatelliteTemplateInputNormalizer.php similarity index 50% rename from src/Normalizer/WorkflowJobPipelineNormalizer.php rename to src/Normalizer/TemplateDeclareSatelliteTemplateInputNormalizer.php index 7f5c0486..d86fe983 100644 --- a/src/Normalizer/WorkflowJobPipelineNormalizer.php +++ b/src/Normalizer/TemplateDeclareSatelliteTemplateInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobPipelineNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class TemplateDeclareSatelliteTemplateInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobPipelineNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipeline'; + return 'Gyroscops\\Api\\Model\\TemplateDeclareSatelliteTemplateInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipeline'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\TemplateDeclareSatelliteTemplateInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,53 +39,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobPipeline(); + $object = new \Gyroscops\Api\Model\TemplateDeclareSatelliteTemplateInput(); if (null === $data || false === \is_array($data)) { return $object; } - 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->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) { + 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('runtime', $data) && $data['runtime'] !== 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['runtime'] as $value) { + foreach ($data['pictograms'] as $value) { $values[] = $value; } - $object->setRuntime($values); - unset($data['runtime']); - } elseif (\array_key_exists('runtime', $data) && $data['runtime'] === null) { - $object->setRuntime(null); + $object->setPictograms($values); + unset($data['pictograms']); + } elseif (\array_key_exists('pictograms', $data) && null === $data['pictograms']) { + $object->setPictograms(null); } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('template', $data) && null !== $data['template']) { $values_1 = []; - foreach ($data['steps'] as $value_1) { + foreach ($data['template'] 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); + $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)) { @@ -111,23 +96,28 @@ public function denormalize($data, $class, $format = null, array $context = []) 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()) { + 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->getRuntime() as $value) { + foreach ($object->getPictograms() as $value) { $values[] = $value; } - $data['runtime'] = $values; + $data['pictograms'] = $values; } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { + if ($object->isInitialized('template') && null !== $object->getTemplate()) { $values_1 = []; - foreach ($object->getSteps() as $value_1) { + foreach ($object->getTemplate() as $value_1) { $values_1[] = $value_1; } - $data['steps'] = $values_1; + $data['template'] = $values_1; } foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { 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/UserAuthorizationNormalizer.php b/src/Normalizer/UserAuthorizationAuthorizationReadNormalizer.php similarity index 71% rename from src/Normalizer/UserAuthorizationNormalizer.php rename to src/Normalizer/UserAuthorizationAuthorizationReadNormalizer.php index 4472c993..acf7bc4b 100644 --- a/src/Normalizer/UserAuthorizationNormalizer.php +++ b/src/Normalizer/UserAuthorizationAuthorizationReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class UserAuthorizationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class UserAuthorizationAuthorizationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class UserAuthorizationNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\UserAuthorization'; + return 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserAuthorization'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\UserAuthorization(); + $object = new \Gyroscops\Api\Model\UserAuthorizationAuthorizationRead(); 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('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('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('resource', $data) && $data['resource'] !== null) { + if (\array_key_exists('resource', $data) && null !== $data['resource']) { $object->setResource($data['resource']); unset($data['resource']); - } elseif (\array_key_exists('resource', $data) && $data['resource'] === null) { + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { $object->setResource(null); } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== 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) && $data['authorizations'] === null) { + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { $object->setAuthorizations(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentReadNormalizer.php b/src/Normalizer/UserAuthorizationAuthorizationWriteNormalizer.php similarity index 51% rename from src/Normalizer/EnvironmentReadNormalizer.php rename to src/Normalizer/UserAuthorizationAuthorizationWriteNormalizer.php index 1c44f775..3784b4a3 100644 --- a/src/Normalizer/EnvironmentReadNormalizer.php +++ b/src/Normalizer/UserAuthorizationAuthorizationWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class UserAuthorizationAuthorizationWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentReadNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentRead'; + return 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorizationAuthorizationWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,43 +39,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentRead(); + $object = new \Gyroscops\Api\Model\UserAuthorizationAuthorizationWrite(); 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('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('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('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('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) && $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) { - $object->setWorkspace($data['workspace']); - unset($data['workspace']); - } elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { - $object->setWorkspace(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) { + foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value; + $object[$key] = $value_1; } } @@ -97,21 +92,24 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); + if ($object->isInitialized('user') && null !== $object->getUser()) { + $data['user'] = $object->getUser(); } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); + 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('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); + $data['resource'] = $object->getResource(); + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; } - foreach ($object as $key => $value) { + $data['authorizations'] = $values; + foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; + $data[$key] = $value_1; } } diff --git a/src/Normalizer/UserAuthorizationJsonldNormalizer.php b/src/Normalizer/UserAuthorizationJsonldAuthorizationReadNormalizer.php similarity index 68% rename from src/Normalizer/UserAuthorizationJsonldNormalizer.php rename to src/Normalizer/UserAuthorizationJsonldAuthorizationReadNormalizer.php index 772bad79..2fd0135e 100644 --- a/src/Normalizer/UserAuthorizationJsonldNormalizer.php +++ b/src/Normalizer/UserAuthorizationJsonldAuthorizationReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class UserAuthorizationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class UserAuthorizationJsonldAuthorizationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class UserAuthorizationJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld'; + return 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,66 +39,66 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\UserAuthorizationJsonld(); + $object = new \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationRead(); 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('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('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('resource', $data) && $data['resource'] !== null) { + if (\array_key_exists('resource', $data) && null !== $data['resource']) { $object->setResource($data['resource']); unset($data['resource']); - } elseif (\array_key_exists('resource', $data) && $data['resource'] === null) { + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { $object->setResource(null); } - if (\array_key_exists('authorizations', $data) && $data['authorizations'] !== 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) && $data['authorizations'] === null) { + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { $object->setAuthorizations(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/EnvironmentJsonldReadNormalizer.php b/src/Normalizer/UserAuthorizationJsonldAuthorizationWriteNormalizer.php similarity index 50% rename from src/Normalizer/EnvironmentJsonldReadNormalizer.php rename to src/Normalizer/UserAuthorizationJsonldAuthorizationWriteNormalizer.php index 4b8d2602..97d7a4ca 100644 --- a/src/Normalizer/EnvironmentJsonldReadNormalizer.php +++ b/src/Normalizer/UserAuthorizationJsonldAuthorizationWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class EnvironmentJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class UserAuthorizationJsonldAuthorizationWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class EnvironmentJsonldReadNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead'; + return 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorizationJsonldAuthorizationWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,61 +39,65 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\EnvironmentJsonldRead(); + $object = new \Gyroscops\Api\Model\UserAuthorizationJsonldAuthorizationWrite(); 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('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('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) && $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) { + 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; + $object[$key] = $value_1; } } @@ -115,21 +110,24 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); + if ($object->isInitialized('user') && null !== $object->getUser()) { + $data['user'] = $object->getUser(); } - if ($object->isInitialized('description') && null !== $object->getDescription()) { - $data['description'] = $object->getDescription(); + 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('workspace') && null !== $object->getWorkspace()) { - $data['workspace'] = $object->getWorkspace(); + $data['resource'] = $object->getResource(); + $values = []; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; } - foreach ($object as $key => $value) { + $data['authorizations'] = $values; + foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value; + $data[$key] = $value_1; } } 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/VariableFromConfigurationInputNormalizer.php b/src/Normalizer/VariableFromConfigurationInputEnvironmentUpdateNormalizer.php similarity index 76% rename from src/Normalizer/VariableFromConfigurationInputNormalizer.php rename to src/Normalizer/VariableFromConfigurationInputEnvironmentUpdateNormalizer.php index 2b28028d..66a8633a 100644 --- a/src/Normalizer/VariableFromConfigurationInputNormalizer.php +++ b/src/Normalizer/VariableFromConfigurationInputEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConfigurationInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConfigurationInputEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConfigurationInputNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConfigurationInput'; + return 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConfigurationInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConfigurationInput(); + $object = new \Gyroscops\Api\Model\VariableFromConfigurationInputEnvironmentUpdate(); 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('from', $data) && $data['from'] !== null) { + if (\array_key_exists('from', $data) && null !== $data['from']) { $object->setFrom($data['from']); unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + } elseif (\array_key_exists('from', $data) && null === $data['from']) { $object->setFrom(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php b/src/Normalizer/VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php similarity index 69% rename from src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php rename to src/Normalizer/VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php index 0b0de92f..ebc6a497 100644 --- a/src/Normalizer/VariableFromConfigurationInputJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConfigurationInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConfigurationInputJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConfigurationInputJsonldNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigurationInputJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConfigurationInputJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromConfigurationInputJsonldEnvironmentUpdate(); 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('from', $data) && $data['from'] !== null) { + if (\array_key_exists('from', $data) && null !== $data['from']) { $object->setFrom($data['from']); unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + } elseif (\array_key_exists('from', $data) && null === $data['from']) { $object->setFrom(null); } foreach ($data as $key => $value) { 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/VariableFromConfigurationJsonldReadNormalizer.php b/src/Normalizer/VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php similarity index 54% rename from src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php rename to src/Normalizer/VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php index 19cc0021..45630202 100644 --- a/src/Normalizer/VariableFromConfigurationJsonldReadNormalizer.php +++ b/src/Normalizer/VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConfigurationJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConfigurationJsonldVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConfigurationJsonldReadNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldRead'; + return 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigurationJsonldVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,63 +39,65 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConfigurationJsonldRead(); + $object = new \Gyroscops\Api\Model\VariableFromConfigurationJsonldVariableViewEnvironmentView(); 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) { - $value = $data['configuration']; - if (is_array($data['configuration'])) { - $value = $this->denormalizer->denormalize($data['configuration'], 'Gyroscops\\Api\\Model\\ConfigurationJsonldRead', 'json', $context); - } - $object->setConfiguration($value); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $object->setConfiguration($data['configuration']); 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('item', $data) && $data['item'] !== null) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { + } elseif (\array_key_exists('item', $data) && null === $data['item']) { $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); + 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_1); + $object->setEnvironment($value); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && $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); } - foreach ($data as $key => $value_2) { + foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; + $object[$key] = $value_1; } } @@ -118,28 +111,24 @@ 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; + $data['configuration'] = $object->getConfiguration(); } 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); + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } - $data['environment'] = $value_1; + $data['environment'] = $value; } if ($object->isInitialized('name') && null !== $object->getName()) { $data['name'] = $object->getName(); } - foreach ($object as $key => $value_2) { + foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; + $data[$key] = $value_1; } } 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/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/VariableFromConfigurationReadNormalizer.php b/src/Normalizer/VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php similarity index 55% rename from src/Normalizer/VariableFromConfigurationReadNormalizer.php rename to src/Normalizer/VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php index ce2e2d34..c4f8fc2d 100644 --- a/src/Normalizer/VariableFromConfigurationReadNormalizer.php +++ b/src/Normalizer/VariableFromConfigurationVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConfigurationReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConfigurationVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConfigurationReadNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConfigurationRead'; + return 'Gyroscops\\Api\\Model\\VariableFromConfigurationVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConfigurationRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigurationVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,45 +39,47 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConfigurationRead(); + $object = new \Gyroscops\Api\Model\VariableFromConfigurationVariableViewEnvironmentView(); if (null === $data || false === \is_array($data)) { return $object; } - 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\\ConfigurationRead', 'json', $context); - } - $object->setConfiguration($value); + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { + $object->setConfiguration($data['configuration']); 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('item', $data) && $data['item'] !== null) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { + } elseif (\array_key_exists('item', $data) && null === $data['item']) { $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); + 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_1); + $object->setEnvironment($value); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && $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); } - foreach ($data as $key => $value_2) { + foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; + $object[$key] = $value_1; } } @@ -100,28 +93,24 @@ 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; + $data['configuration'] = $object->getConfiguration(); } 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); + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } - $data['environment'] = $value_1; + $data['environment'] = $value; } if ($object->isInitialized('name') && null !== $object->getName()) { $data['name'] = $object->getName(); } - foreach ($object as $key => $value_2) { + foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; + $data[$key] = $value_1; } } diff --git a/src/Normalizer/VariableFromConstantInputNormalizer.php b/src/Normalizer/VariableFromConstantInputEnvironmentUpdateNormalizer.php similarity index 76% rename from src/Normalizer/VariableFromConstantInputNormalizer.php rename to src/Normalizer/VariableFromConstantInputEnvironmentUpdateNormalizer.php index a0809328..54177adb 100644 --- a/src/Normalizer/VariableFromConstantInputNormalizer.php +++ b/src/Normalizer/VariableFromConstantInputEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConstantInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantInputEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConstantInputNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConstantInput'; + return 'Gyroscops\\Api\\Model\\VariableFromConstantInputEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConstantInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConstantInputEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConstantInput(); + $object = new \Gyroscops\Api\Model\VariableFromConstantInputEnvironmentUpdate(); 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/VariableFromConstantInputJsonldNormalizer.php b/src/Normalizer/VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php similarity index 69% rename from src/Normalizer/VariableFromConstantInputJsonldNormalizer.php rename to src/Normalizer/VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php index 9ce932dc..733752e5 100644 --- a/src/Normalizer/VariableFromConstantInputJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConstantInputJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConstantInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantInputJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConstantInputJsonldNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConstantInputJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConstantInputJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromConstantInputJsonldEnvironmentUpdate(); 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/PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php b/src/Normalizer/VariableFromConstantJsonldVariableUpdateNormalizer.php similarity index 58% rename from src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php rename to src/Normalizer/VariableFromConstantJsonldVariableUpdateNormalizer.php index d875b8e2..fe25fcbf 100644 --- a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConstantJsonldVariableUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantJsonldVariableUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineScheduleOnceCommandInputJsonldNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,40 +39,46 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromConstantJsonldVariableUpdate(); 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('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('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) && $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); } + 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; @@ -97,12 +94,15 @@ public function denormalize($data, $class, $format = null, array $context = []) 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('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; diff --git a/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php b/src/Normalizer/VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php similarity index 64% rename from src/Normalizer/VariableFromConstantJsonldReadNormalizer.php rename to src/Normalizer/VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php index 24f71dba..075c7bc4 100644 --- a/src/Normalizer/VariableFromConstantJsonldReadNormalizer.php +++ b/src/Normalizer/VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConstantJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantJsonldVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConstantJsonldReadNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldRead'; + return 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConstantJsonldVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,48 +39,54 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConstantJsonldRead(); + $object = new \Gyroscops\Api\Model\VariableFromConstantJsonldVariableViewEnvironmentView(); 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('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); } - if (\array_key_exists('environment', $data) && $data['environment'] !== 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\\EnvironmentJsonldRead', 'json', $context); + 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) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(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); } foreach ($data as $key => $value_1) { @@ -112,7 +109,7 @@ public function normalize($object, $format = null, array $context = []) } if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { + if (\is_object($object->getEnvironment())) { $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } $data['environment'] = $value; diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php b/src/Normalizer/VariableFromConstantVariableUpdateNormalizer.php similarity index 61% rename from src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php rename to src/Normalizer/VariableFromConstantVariableUpdateNormalizer.php index d078dd62..f2ee1f99 100644 --- a/src/Normalizer/PipelineDeclarePipelineScheduleOnceCommandInputNormalizer.php +++ b/src/Normalizer/VariableFromConstantVariableUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineScheduleOnceCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantVariableUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineScheduleOnceCommandInputNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInput'; + return 'Gyroscops\\Api\\Model\\VariableFromConstantVariableUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleOnceCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConstantVariableUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,22 +39,28 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleOnceCommandInput(); + $object = new \Gyroscops\Api\Model\VariableFromConstantVariableUpdate(); if (null === $data || false === \is_array($data)) { return $object; } - 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('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) && $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); } + 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; @@ -79,12 +76,15 @@ public function denormalize($data, $class, $format = null, array $context = []) 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('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; diff --git a/src/Normalizer/VariableFromConstantReadNormalizer.php b/src/Normalizer/VariableFromConstantVariableViewEnvironmentViewNormalizer.php similarity index 67% rename from src/Normalizer/VariableFromConstantReadNormalizer.php rename to src/Normalizer/VariableFromConstantVariableViewEnvironmentViewNormalizer.php index a95c48e0..903d03d7 100644 --- a/src/Normalizer/VariableFromConstantReadNormalizer.php +++ b/src/Normalizer/VariableFromConstantVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromConstantReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromConstantVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromConstantReadNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConstantRead'; + return 'Gyroscops\\Api\\Model\\VariableFromConstantVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConstantRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConstantVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,30 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromConstantRead(); + $object = new \Gyroscops\Api\Model\VariableFromConstantVariableViewEnvironmentView(); if (null === $data || false === \is_array($data)) { return $object; } - 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); } - if (\array_key_exists('environment', $data) && $data['environment'] !== 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\\EnvironmentRead', 'json', $context); + 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) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(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); } foreach ($data as $key => $value_1) { @@ -94,7 +91,7 @@ public function normalize($object, $format = null, array $context = []) } if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { + if (\is_object($object->getEnvironment())) { $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } $data['environment'] = $value; diff --git a/src/Normalizer/VariableFromSecretInputNormalizer.php b/src/Normalizer/VariableFromSecretInputEnvironmentUpdateNormalizer.php similarity index 77% rename from src/Normalizer/VariableFromSecretInputNormalizer.php rename to src/Normalizer/VariableFromSecretInputEnvironmentUpdateNormalizer.php index ea173162..568bb4ac 100644 --- a/src/Normalizer/VariableFromSecretInputNormalizer.php +++ b/src/Normalizer/VariableFromSecretInputEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretInputEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromSecretInputNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromSecretInput'; + return 'Gyroscops\\Api\\Model\\VariableFromSecretInputEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromSecretInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretInputEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromSecretInput(); + $object = new \Gyroscops\Api\Model\VariableFromSecretInputEnvironmentUpdate(); 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('from', $data) && $data['from'] !== null) { + if (\array_key_exists('from', $data) && null !== $data['from']) { $object->setFrom($data['from']); unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + } elseif (\array_key_exists('from', $data) && null === $data['from']) { $object->setFrom(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php b/src/Normalizer/VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php similarity index 69% rename from src/Normalizer/VariableFromSecretInputJsonldNormalizer.php rename to src/Normalizer/VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php index 570a0593..cf543617 100644 --- a/src/Normalizer/VariableFromSecretInputJsonldNormalizer.php +++ b/src/Normalizer/VariableFromSecretInputJsonldEnvironmentUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromSecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretInputJsonldEnvironmentUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromSecretInputJsonldNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonldEnvironmentUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretInputJsonldEnvironmentUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromSecretInputJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromSecretInputJsonldEnvironmentUpdate(); 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('from', $data) && $data['from'] !== null) { + if (\array_key_exists('from', $data) && null !== $data['from']) { $object->setFrom($data['from']); unset($data['from']); - } elseif (\array_key_exists('from', $data) && $data['from'] === null) { + } elseif (\array_key_exists('from', $data) && null === $data['from']) { $object->setFrom(null); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/VariableFromSecretJsonldVariableUpdateNormalizer.php similarity index 63% rename from src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php rename to src/Normalizer/VariableFromSecretJsonldVariableUpdateNormalizer.php index 337ead78..0dfbf530 100644 --- a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/VariableFromSecretJsonldVariableUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretJsonldVariableUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,34 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\VariableFromSecretJsonldVariableUpdate(); 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); } + 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; @@ -94,6 +91,9 @@ public function normalize($object, $format = null, array $context = []) 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; diff --git a/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php b/src/Normalizer/VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php similarity index 54% rename from src/Normalizer/VariableFromSecretJsonldReadNormalizer.php rename to src/Normalizer/VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php index efb3feea..afd9fb3f 100644 --- a/src/Normalizer/VariableFromSecretJsonldReadNormalizer.php +++ b/src/Normalizer/VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableFromSecretJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretJsonldVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableFromSecretJsonldReadNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldRead'; + return 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretJsonldVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,63 +39,65 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableFromSecretJsonldRead(); + $object = new \Gyroscops\Api\Model\VariableFromSecretJsonldVariableViewEnvironmentView(); 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('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); + 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('item', $data) && $data['item'] !== null) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); unset($data['item']); - } elseif (\array_key_exists('item', $data) && $data['item'] === null) { + } elseif (\array_key_exists('item', $data) && null === $data['item']) { $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); + 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_1); + $object->setEnvironment($value); unset($data['environment']); - } elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data) && $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); } - foreach ($data as $key => $value_2) { + foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_2; + $object[$key] = $value_1; } } @@ -118,28 +111,24 @@ 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; + $data['secret'] = $object->getSecret(); } 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); + $value = $object->getEnvironment(); + if (\is_object($object->getEnvironment())) { + $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } - $data['environment'] = $value_1; + $data['environment'] = $value; } if ($object->isInitialized('name') && null !== $object->getName()) { $data['name'] = $object->getName(); } - foreach ($object as $key => $value_2) { + foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_2; + $data[$key] = $value_1; } } 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/PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/VariableFromSecretVariableUpdateNormalizer.php similarity index 69% rename from src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php rename to src/Normalizer/VariableFromSecretVariableUpdateNormalizer.php index ad3a6276..8ce8fe72 100644 --- a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer.php +++ b/src/Normalizer/VariableFromSecretVariableUpdateNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableFromSecretVariableUpdateNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineScheduleImmediateCommandInputNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInput'; + return 'Gyroscops\\Api\\Model\\VariableFromSecretVariableUpdate' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretVariableUpdate' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,16 +39,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandInput(); + $object = new \Gyroscops\Api\Model\VariableFromSecretVariableUpdate(); 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); } + 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; @@ -76,6 +73,9 @@ public function normalize($object, $format = null, array $context = []) 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; 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/VariableJsonldVariableViewEnvironmentViewNormalizer.php similarity index 61% rename from src/Normalizer/VariableJsonldReadNormalizer.php rename to src/Normalizer/VariableJsonldVariableViewEnvironmentViewNormalizer.php index a0defdef..0b23ffe5 100644 --- a/src/Normalizer/VariableJsonldReadNormalizer.php +++ b/src/Normalizer/VariableJsonldVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableJsonldVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableJsonldReadNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableJsonldRead'; + return 'Gyroscops\\Api\\Model\\VariableJsonldVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableJsonldVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableJsonldRead(); + $object = new \Gyroscops\Api\Model\VariableJsonldVariableViewEnvironmentView(); 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('environment', $data) && $data['environment'] !== 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\\EnvironmentJsonldRead', 'json', $context); + 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) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(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); } foreach ($data as $key => $value_1) { @@ -97,7 +100,7 @@ public function normalize($object, $format = null, array $context = []) $data = []; if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { + if (\is_object($object->getEnvironment())) { $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } $data['environment'] = $value; diff --git a/src/Normalizer/VariableReadNormalizer.php b/src/Normalizer/VariableVariableViewEnvironmentViewNormalizer.php similarity index 69% rename from src/Normalizer/VariableReadNormalizer.php rename to src/Normalizer/VariableVariableViewEnvironmentViewNormalizer.php index bd6fb01b..cfb000b7 100644 --- a/src/Normalizer/VariableReadNormalizer.php +++ b/src/Normalizer/VariableVariableViewEnvironmentViewNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class VariableReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class VariableVariableViewEnvironmentViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class VariableReadNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\VariableRead'; + return 'Gyroscops\\Api\\Model\\VariableVariableViewEnvironmentView' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\VariableVariableViewEnvironmentView' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,24 +39,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\VariableRead(); + $object = new \Gyroscops\Api\Model\VariableVariableViewEnvironmentView(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('environment', $data) && $data['environment'] !== 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\\EnvironmentRead', 'json', $context); + 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) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(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); } foreach ($data as $key => $value_1) { @@ -85,7 +82,7 @@ public function normalize($object, $format = null, array $context = []) $data = []; if ($object->isInitialized('environment') && null !== $object->getEnvironment()) { $value = $object->getEnvironment(); - if (is_object($object->getEnvironment())) { + if (\is_object($object->getEnvironment())) { $value = $this->normalizer->normalize($object->getEnvironment(), 'json', $context); } $data['environment'] = $value; 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/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php similarity index 71% rename from src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php rename to src/Normalizer/WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php index b617ffdc..a904fdc1 100644 --- a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowCompileWorkflowCommandJsonldWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandJsonldWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowCompileWorkflowCommandJsonldWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineStepProbeCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowCompileWorkflowCommandJsonldWorkflowRead(); 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/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/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php similarity index 71% rename from src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php rename to src/Normalizer/WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php index 8bd2b2f9..cb0f643b 100644 --- a/src/Normalizer/PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowDeclareWorkflowCommandJsonldWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddPipelineComposerAuthCommandJsonldReadNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerAuthCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddPipelineComposerAuthCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandJsonldWorkflowRead(); 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/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/WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php similarity index 70% rename from src/Normalizer/WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php rename to src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php index 1c4ff2bb..c2892584 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowCommandJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowDeclareWorkflowCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowCommandJsonldReadNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowDeclareWorkflowCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldWorkflowRead(); 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/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/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php similarity index 69% rename from src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php rename to src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php index ca57a960..460a973e 100644 --- a/src/Normalizer/WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowDeclareWorkflowScheduleCrontabCommandJsonldReadNormalizer implemen public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleCrontabCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowDeclareWorkflowScheduleImmediateCommandJsonldWorkflowRead(); 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/WorkflowJobActionNormalizer.php b/src/Normalizer/WorkflowJobActionActionReadNormalizer.php similarity index 70% rename from src/Normalizer/WorkflowJobActionNormalizer.php rename to src/Normalizer/WorkflowJobActionActionReadNormalizer.php index 9a72a47a..534b76d6 100644 --- a/src/Normalizer/WorkflowJobActionNormalizer.php +++ b/src/Normalizer/WorkflowJobActionActionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobActionNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobActionActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobActionNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobAction'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionActionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobAction'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionActionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,42 +39,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobAction(); + $object = new \Gyroscops\Api\Model\WorkflowJobActionActionRead(); 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('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('configuration', $data) && $data['configuration'] !== 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) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/WorkflowJobActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionJobReadNormalizer.php similarity index 53% rename from src/Normalizer/WorkflowJobActionReadNormalizer.php rename to src/Normalizer/WorkflowJobActionJobReadNormalizer.php index 9cba712f..3228583f 100644 --- a/src/Normalizer/WorkflowJobActionReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobActionJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobActionReadNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobActionRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobActionRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,41 +39,51 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobActionRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobActionJobRead(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data) && $data['id'] !== 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\\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) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId(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('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; + foreach ($data['configuration'] as $value_1) { + $values[] = $value_1; } $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 => $value_1) { + foreach ($data as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; + $object[$key] = $value_2; } } @@ -95,16 +96,21 @@ public function denormalize($data, $class, $format = null, array $context = []) 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) { - $values[] = $value; + foreach ($object->getConfiguration() as $value_1) { + $values[] = $value_1; } $data['configuration'] = $values; - foreach ($object as $key => $value_1) { + foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; + $data[$key] = $value_2; } } diff --git a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldActionReadNormalizer.php similarity index 66% rename from src/Normalizer/WorkflowJobActionJsonldNormalizer.php rename to src/Normalizer/WorkflowJobActionJsonldActionReadNormalizer.php index acd74e10..db5d5b1e 100644 --- a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldActionReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobActionJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobActionJsonldActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobActionJsonldNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldActionRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldActionRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,60 +39,60 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobActionJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobActionJsonldActionRead(); if (null === $data || false === \is_array($data)) { return $object; } - 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) { + 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('@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) && $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('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('configuration', $data) && $data['configuration'] !== 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) && $data['configuration'] === null) { + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { $object->setConfiguration(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldJobReadNormalizer.php similarity index 52% rename from src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php rename to src/Normalizer/WorkflowJobActionJsonldJobReadNormalizer.php index 057b57f0..bcfdf68d 100644 --- a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobActionJsonldJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobActionJsonldReadNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,59 +39,69 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobActionJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobActionJsonldJobRead(); 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('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) && $data['id'] === null) { + } elseif (\array_key_exists('id', $data) && null === $data['id']) { $object->setId2(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('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = []; - foreach ($data['configuration'] as $value) { - $values[] = $value; + foreach ($data['configuration'] as $value_1) { + $values[] = $value_1; } $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 => $value_1) { + foreach ($data as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_1; + $object[$key] = $value_2; } } @@ -113,16 +114,21 @@ public function denormalize($data, $class, $format = null, array $context = []) 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) { - $values[] = $value; + foreach ($object->getConfiguration() as $value_1) { + $values[] = $value_1; } $data['configuration'] = $values; - foreach ($object as $key => $value_1) { + foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_1; + $data[$key] = $value_2; } } diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php similarity index 68% rename from src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php index 0a440939..f2ef4083 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAppendPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAppendPipelineStepCommandInputJsonldNormalizer implements Denormal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,58 +39,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInputJsonld(); 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); } - 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('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/PipelineReplacePipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php similarity index 73% rename from src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php index a56f8c0e..7da31315 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReplacePipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAddAfterWorkflowPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReplacePipelineStepCommandInputNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAddAfterWorkflowPipelineStepCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,40 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobAddAfterWorkflowPipelineStepCommandInput(); 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); } - 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('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/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/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php similarity index 68% rename from src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php index 663a4819..806c3a28 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReplacePipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReplacePipelineStepCommandInputJsonldNormalizer implements Denorma public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,58 +39,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInputJsonld(); 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); } - 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('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/PipelineAddAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php similarity index 73% rename from src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php index 4ea37778..ca9dadda 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddAfterPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAddBeforeWorkflowPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddAfterPipelineStepCommandInputNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,40 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobAddBeforeWorkflowPipelineStepCommandInput(); 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); } - 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('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/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/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php similarity index 68% rename from src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php index 61271fcf..9415ed96 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddAfterPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAppendWorkflowPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddAfterPipelineStepCommandInputJsonldNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,58 +39,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandInputJsonld(); 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); } - 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('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/PipelineAppendPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php similarity index 73% rename from src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php index ebf4d470..43837b6f 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAppendPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAppendWorkflowPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAppendPipelineStepCommandInputNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,40 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandInput(); 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); } - 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('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/PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php similarity index 70% rename from src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php rename to src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php index 466da72a..be89026b 100644 --- a/src/Normalizer/PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineDeclarePipelineScheduleImmediateCommandJsonldReadNormalizer implem public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineDeclarePipelineScheduleImmediateCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobAppendWorkflowPipelineStepCommandJsonldJobRead(); 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/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/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php similarity index 65% rename from src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php index 645a772e..4791cca4 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInputJsonld(); 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('after', $data) && $data['after'] !== null) { + if (\array_key_exists('after', $data) && null !== $data['after']) { $object->setAfter($data['after']); unset($data['after']); - } elseif (\array_key_exists('after', $data) && $data['after'] === null) { + } elseif (\array_key_exists('after', $data) && null === $data['after']) { $object->setAfter(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/PipelineMoveAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php similarity index 71% rename from src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php index 6dbe17d7..21c86d95 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineMoveAfterPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobMoveAfterWorkflowPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineMoveAfterPipelineStepCommandInputNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobMoveAfterWorkflowPipelineStepCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('after', $data) && $data['after'] !== null) { + if (\array_key_exists('after', $data) && null !== $data['after']) { $object->setAfter($data['after']); unset($data['after']); - } elseif (\array_key_exists('after', $data) && $data['after'] === null) { + } elseif (\array_key_exists('after', $data) && null === $data['after']) { $object->setAfter(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/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/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php similarity index 65% rename from src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php index dbcaf4d7..68e219d1 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer implements Deno public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,38 +39,38 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputJsonld(); 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('before', $data) && $data['before'] !== null) { + if (\array_key_exists('before', $data) && null !== $data['before']) { $object->setBefore($data['before']); unset($data['before']); - } elseif (\array_key_exists('before', $data) && $data['before'] === null) { + } elseif (\array_key_exists('before', $data) && null === $data['before']) { $object->setBefore(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/PipelineMoveBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php similarity index 71% rename from src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php index 0c4e0998..d8240677 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineMoveBeforePipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobMoveBeforeWorkflowPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineMoveBeforePipelineStepCommandInputNormalizer implements Denormaliz public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,20 +39,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobMoveBeforeWorkflowPipelineStepCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('before', $data) && $data['before'] !== null) { + if (\array_key_exists('before', $data) && null !== $data['before']) { $object->setBefore($data['before']); unset($data['before']); - } elseif (\array_key_exists('before', $data) && $data['before'] === null) { + } elseif (\array_key_exists('before', $data) && null === $data['before']) { $object->setBefore(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/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/WorkflowJobPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJobReadNormalizer.php similarity index 54% rename from src/Normalizer/WorkflowJobPipelineReadNormalizer.php rename to src/Normalizer/WorkflowJobPipelineJobReadNormalizer.php index 60aced82..8e63de22 100644 --- a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobPipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobPipelineJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobPipelineReadNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,46 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobPipelineRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobPipelineJobRead(); 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('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\\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) && $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('runtime', $data) && $data['runtime'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $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); + $values[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PipelineStepJobRead', 'json', $context); } - $object->setSteps($values_1); + $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_2) { @@ -105,22 +90,19 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - $data['id'] = $object->getId(); + $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('runtime') && null !== $object->getRuntime()) { - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; - } - $data['runtime'] = $values; - } if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_1 = []; + $values = []; foreach ($object->getSteps() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + $values[] = $this->normalizer->normalize($value_1, 'json', $context); } - $data['steps'] = $values_1; + $data['steps'] = $values; } foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldJobReadNormalizer.php similarity index 53% rename from src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php rename to src/Normalizer/WorkflowJobPipelineJsonldJobReadNormalizer.php index 1c3486f0..cf5a9608 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldJobReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowJobPipelineJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobPipelineJsonldJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowJobPipelineJsonldReadNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldJobRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldJobRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,64 +39,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowJobPipelineJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobPipelineJsonldJobRead(); 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('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) && $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('runtime', $data) && $data['runtime'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $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); + $values[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\PipelineStepJsonldJobRead', 'json', $context); } - $object->setSteps($values_1); + $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_2) { @@ -123,22 +108,19 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - $data['id'] = $object->getId2(); + $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('runtime') && null !== $object->getRuntime()) { - $values = []; - foreach ($object->getRuntime() as $value) { - $values[] = $value; - } - $data['runtime'] = $values; - } if ($object->isInitialized('steps') && null !== $object->getSteps()) { - $values_1 = []; + $values = []; foreach ($object->getSteps() as $value_1) { - $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + $values[] = $this->normalizer->normalize($value_1, 'json', $context); } - $data['steps'] = $values_1; + $data['steps'] = $values; } foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { 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/ActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldPipelineReadNormalizer.php similarity index 57% rename from src/Normalizer/ActionJsonldReadNormalizer.php rename to src/Normalizer/WorkflowJobPipelineJsonldPipelineReadNormalizer.php index a658abca..ba3cd8e3 100644 --- a/src/Normalizer/ActionJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldPipelineReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobPipelineJsonldPipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ActionJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldPipelineRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ActionJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldPipelineRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,55 +39,55 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ActionJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobPipelineJsonldPipelineRead(); 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) { - $object->setId2($data['id']); - unset($data['id']); - } elseif (\array_key_exists('id', $data) && $data['id'] === null) { - $object->setId2(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) && $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('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; - foreach ($data['configuration'] as $value) { + foreach ($data['steps'] as $value) { $values[] = $value; } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); + $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)) { @@ -113,13 +104,16 @@ public function denormalize($data, $class, $format = null, array $context = []) 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; + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $value; + } + $data['steps'] = $values; } - $data['configuration'] = $values; foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { $data[$key] = $value_1; diff --git a/src/Normalizer/ActionReadNormalizer.php b/src/Normalizer/WorkflowJobPipelinePipelineReadNormalizer.php similarity index 60% rename from src/Normalizer/ActionReadNormalizer.php rename to src/Normalizer/WorkflowJobPipelinePipelineReadNormalizer.php index c19d0fef..1a573abf 100644 --- a/src/Normalizer/ActionReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelinePipelineReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class ActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobPipelinePipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class ActionReadNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\ActionRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelinePipelineRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ActionRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelinePipelineRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,37 +39,37 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\ActionRead(); + $object = new \Gyroscops\Api\Model\WorkflowJobPipelinePipelineRead(); 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('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) && $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('configuration', $data) && $data['configuration'] !== null) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; - foreach ($data['configuration'] as $value) { + foreach ($data['steps'] as $value) { $values[] = $value; } - $object->setConfiguration($values); - unset($data['configuration']); - } elseif (\array_key_exists('configuration', $data) && $data['configuration'] === null) { - $object->setConfiguration(null); + $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)) { @@ -95,13 +86,16 @@ public function denormalize($data, $class, $format = null, array $context = []) 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; + if ($object->isInitialized('steps') && null !== $object->getSteps()) { + $values = []; + foreach ($object->getSteps() as $value) { + $values[] = $value; + } + $data['steps'] = $values; } - $data['configuration'] = $values; foreach ($object as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { $data[$key] = $value_1; 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/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php similarity index 68% rename from src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php index e7486136..25e7fb5f 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReorderPipelineStepsCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReorderPipelineStepsCommandInputJsonldNormalizer implements Denorm public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,36 +39,36 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobReorderWorkflowPipelineStepsCommandInputJsonld(); 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('codes', $data) && $data['codes'] !== 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) && $data['codes'] === null) { + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { $object->setCodes(null); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php similarity index 76% rename from src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php index faeac906..05a99db1 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReorderPipelineStepsCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobReorderWorkflowPipelineStepsCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReorderPipelineStepsCommandInputNormalizer implements Denormalizer public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobReorderWorkflowPipelineStepsCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,18 +39,18 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobReorderWorkflowPipelineStepsCommandInput(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('codes', $data) && $data['codes'] !== 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) && $data['codes'] === null) { + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { $object->setCodes(null); } foreach ($data as $key => $value_1) { 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/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php similarity index 68% rename from src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php index a4b3114b..fb7123af 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddBeforePipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddBeforePipelineStepCommandInputJsonldNormalizer implements Denor public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,58 +39,58 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkflowJobReplaceWorkflowPipelineStepCommandInputJsonld(); 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); } - 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('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/PipelineAddBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php similarity index 73% rename from src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php rename to src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php index a51ba752..5af755e8 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineAddBeforePipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJobReplaceWorkflowPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineAddBeforePipelineStepCommandInputNormalizer implements Denormalize public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandInput' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobReplaceWorkflowPipelineStepCommandInput' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,40 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput(); + $object = new \Gyroscops\Api\Model\WorkflowJobReplaceWorkflowPipelineStepCommandInput(); 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); } - 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('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/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/PipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJsonldWorkflowReadNormalizer.php similarity index 55% rename from src/Normalizer/PipelineJsonldReadNormalizer.php rename to src/Normalizer/WorkflowJsonldWorkflowReadNormalizer.php index 884998aa..f9b926e0 100644 --- a/src/Normalizer/PipelineJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJsonldWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowJsonldWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineJsonldReadNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJsonldWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJsonldWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,123 +39,141 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowJsonldWorkflowRead(); 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('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('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) && $data['isSoftDeleted'] !== null) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { $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('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('autoload', $data) && $data['autoload'] !== 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) && $data['autoload'] === null) { + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { $object->setAutoload(null); } - if (\array_key_exists('packages', $data) && $data['packages'] !== 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) && $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[] = $value_2; } $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('auths', $data) && $data['auths'] !== 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) && $data['auths'] === null) { + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { $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('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('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('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('runtime', $data) && $data['runtime'] !== null) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values_4 = []; - foreach ($data['runtime'] as $value_4) { + foreach ($data['jobs'] 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); + $object->setJobs($values_4); + unset($data['jobs']); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('templatePictograms', $data) && null !== $data['templatePictograms']) { $values_5 = []; - foreach ($data['steps'] as $value_5) { - $values_5[] = $this->denormalizer->denormalize($value_5, 'Gyroscops\\Api\\Model\\PipelineStepJsonldRead', 'json', $context); + foreach ($data['templatePictograms'] as $value_5) { + $values_5[] = $value_5; } - $object->setSteps($values_5); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); + $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)) { @@ -181,15 +190,12 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } + $data['id'] = $object->getId2(); 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'); - } + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); if ($object->isInitialized('packages') && null !== $object->getPackages()) { $values = []; foreach ($object->getPackages() as $value) { @@ -207,22 +213,28 @@ public function normalize($object, $format = null, array $context = []) $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()) { + 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->getRuntime() as $value_3) { + foreach ($object->getJobs() as $value_3) { $values_3[] = $value_3; } - $data['runtime'] = $values_3; + $data['jobs'] = $values_3; } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { + if ($object->isInitialized('templatePictograms') && null !== $object->getTemplatePictograms()) { $values_4 = []; - foreach ($object->getSteps() as $value_4) { - $values_4[] = $this->normalizer->normalize($value_4, 'json', $context); + foreach ($object->getTemplatePictograms() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_4; + $data['templatePictograms'] = $values_4; } foreach ($object as $key => $value_5) { if (preg_match('/.*/', (string) $key)) { 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/WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php similarity index 70% rename from src/Normalizer/WorkflowRemoveWorkflowCommandJsonldReadNormalizer.php rename to src/Normalizer/WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php index 2b16726f..9649c496 100644 --- a/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkflowRemoveWorkflowCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowRemoveWorkflowCommandJsonldWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkflowRemoveWorkflowCommandJsonldReadNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowRemoveWorkflowCommandJsonldWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,26 +39,26 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandJsonldRead(); + $object = new \Gyroscops\Api\Model\WorkflowRemoveWorkflowCommandJsonldWorkflowRead(); 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/PipelineReadNormalizer.php b/src/Normalizer/WorkflowWorkflowReadNormalizer.php similarity index 56% rename from src/Normalizer/PipelineReadNormalizer.php rename to src/Normalizer/WorkflowWorkflowReadNormalizer.php index 12b8603f..880c9706 100644 --- a/src/Normalizer/PipelineReadNormalizer.php +++ b/src/Normalizer/WorkflowWorkflowReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkflowWorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineReadNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRead'; + return 'Gyroscops\\Api\\Model\\WorkflowWorkflowRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRead'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowWorkflowRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,105 +39,123 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRead(); + $object = new \Gyroscops\Api\Model\WorkflowWorkflowRead(); if (null === $data || false === \is_array($data)) { return $object; } - 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('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('isSoftDeleted', $data) && $data['isSoftDeleted'] !== null) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); unset($data['isSoftDeleted']); - } elseif (\array_key_exists('isSoftDeleted', $data) && $data['isSoftDeleted'] === null) { + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { $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('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('autoload', $data) && $data['autoload'] !== 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) && $data['autoload'] === null) { + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { $object->setAutoload(null); } - if (\array_key_exists('packages', $data) && $data['packages'] !== 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) && $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[] = $value_2; } $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('auths', $data) && $data['auths'] !== 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) && $data['auths'] === null) { + } elseif (\array_key_exists('auths', $data) && null === $data['auths']) { $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('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('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('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('runtime', $data) && $data['runtime'] !== null) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values_4 = []; - foreach ($data['runtime'] as $value_4) { + foreach ($data['jobs'] 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); + $object->setJobs($values_4); + unset($data['jobs']); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } - if (\array_key_exists('steps', $data) && $data['steps'] !== null) { + if (\array_key_exists('templatePictograms', $data) && null !== $data['templatePictograms']) { $values_5 = []; - foreach ($data['steps'] as $value_5) { - $values_5[] = $this->denormalizer->denormalize($value_5, 'Gyroscops\\Api\\Model\\PipelineStepRead', 'json', $context); + foreach ($data['templatePictograms'] as $value_5) { + $values_5[] = $value_5; } - $object->setSteps($values_5); - unset($data['steps']); - } elseif (\array_key_exists('steps', $data) && $data['steps'] === null) { - $object->setSteps(null); + $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)) { @@ -163,15 +172,12 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('currentVersion') && null !== $object->getCurrentVersion()) { - $data['currentVersion'] = $object->getCurrentVersion(); - } + $data['id'] = $object->getId(); 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'); - } + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); if ($object->isInitialized('packages') && null !== $object->getPackages()) { $values = []; foreach ($object->getPackages() as $value) { @@ -189,22 +195,28 @@ public function normalize($object, $format = null, array $context = []) $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()) { + 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->getRuntime() as $value_3) { + foreach ($object->getJobs() as $value_3) { $values_3[] = $value_3; } - $data['runtime'] = $values_3; + $data['jobs'] = $values_3; } - if ($object->isInitialized('steps') && null !== $object->getSteps()) { + if ($object->isInitialized('templatePictograms') && null !== $object->getTemplatePictograms()) { $values_4 = []; - foreach ($object->getSteps() as $value_4) { - $values_4[] = $this->normalizer->normalize($value_4, 'json', $context); + foreach ($object->getTemplatePictograms() as $value_4) { + $values_4[] = $value_4; } - $data['steps'] = $values_4; + $data['templatePictograms'] = $values_4; } foreach ($object as $key => $value_5) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/WorkspaceJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldWorkspaceReadNormalizer.php similarity index 52% rename from src/Normalizer/WorkspaceJsonldNormalizer.php rename to src/Normalizer/WorkspaceJsonldWorkspaceReadNormalizer.php index c716070b..6f7d68b5 100644 --- a/src/Normalizer/WorkspaceJsonldNormalizer.php +++ b/src/Normalizer/WorkspaceJsonldWorkspaceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkspaceJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkspaceJsonldWorkspaceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkspaceJsonldNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\WorkspaceJsonld'; + return 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkspaceJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,85 +39,75 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\WorkspaceJsonld(); + $object = new \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceRead(); 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('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('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('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) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; - foreach ($data['authorizations'] as $value_1) { - $values[] = $value_1; + foreach ($data['authorizations'] as $value) { + $values[] = $value; } $object->setAuthorizations($values); unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { $object->setAuthorizations(null); } - if (\array_key_exists('users', $data) && $data['users'] !== null) { + if (\array_key_exists('users', $data) && null !== $data['users']) { $values_1 = []; - foreach ($data['users'] as $value_2) { - $values_1[] = $value_2; + 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) { + } elseif (\array_key_exists('users', $data) && null === $data['users']) { $object->setUsers(null); } - foreach ($data as $key => $value_3) { + foreach ($data as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_3; + $object[$key] = $value_2; } } @@ -144,28 +125,23 @@ public function normalize($object, $format = null, array $context = []) $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; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; } $data['authorizations'] = $values; } if ($object->isInitialized('users') && null !== $object->getUsers()) { $values_1 = []; - foreach ($object->getUsers() as $value_2) { - $values_1[] = $value_2; + foreach ($object->getUsers() as $value_1) { + $values_1[] = $value_1; } $data['users'] = $values_1; } - foreach ($object as $key => $value_3) { + foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_3; + $data[$key] = $value_2; } } diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldWorkspaceWriteNormalizer.php similarity index 62% rename from src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php rename to src/Normalizer/WorkspaceJsonldWorkspaceWriteNormalizer.php index 1c8af2b5..817a360e 100644 --- a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer.php +++ b/src/Normalizer/WorkspaceJsonldWorkspaceWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkspaceJsonldWorkspaceWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineComposerRepositoryCommandInputJsonldNormalizer imple public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInputJsonld'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkspaceJsonldWorkspaceWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,34 +39,40 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInputJsonld(); + $object = new \Gyroscops\Api\Model\WorkspaceJsonldWorkspaceWrite(); 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('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; @@ -91,9 +88,8 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } + $data['name'] = $object->getName(); + $data['organization'] = $object->getOrganization(); foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { $data[$key] = $value; diff --git a/src/Normalizer/WorkspaceNormalizer.php b/src/Normalizer/WorkspaceWorkspaceReadNormalizer.php similarity index 54% rename from src/Normalizer/WorkspaceNormalizer.php rename to src/Normalizer/WorkspaceWorkspaceReadNormalizer.php index 875f6f20..68aaf3ce 100644 --- a/src/Normalizer/WorkspaceNormalizer.php +++ b/src/Normalizer/WorkspaceWorkspaceReadNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class WorkspaceNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkspaceWorkspaceReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class WorkspaceNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\Workspace'; + return 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Workspace'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceRead' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,67 +39,57 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\Workspace(); + $object = new \Gyroscops\Api\Model\WorkspaceWorkspaceRead(); 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('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('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('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) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; - foreach ($data['authorizations'] as $value_1) { - $values[] = $value_1; + foreach ($data['authorizations'] as $value) { + $values[] = $value; } $object->setAuthorizations($values); unset($data['authorizations']); - } elseif (\array_key_exists('authorizations', $data) && $data['authorizations'] === null) { + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { $object->setAuthorizations(null); } - if (\array_key_exists('users', $data) && $data['users'] !== null) { + if (\array_key_exists('users', $data) && null !== $data['users']) { $values_1 = []; - foreach ($data['users'] as $value_2) { - $values_1[] = $value_2; + 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) { + } elseif (\array_key_exists('users', $data) && null === $data['users']) { $object->setUsers(null); } - foreach ($data as $key => $value_3) { + foreach ($data as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $object[$key] = $value_3; + $object[$key] = $value_2; } } @@ -126,28 +107,23 @@ public function normalize($object, $format = null, array $context = []) $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; + foreach ($object->getAuthorizations() as $value) { + $values[] = $value; } $data['authorizations'] = $values; } if ($object->isInitialized('users') && null !== $object->getUsers()) { $values_1 = []; - foreach ($object->getUsers() as $value_2) { - $values_1[] = $value_2; + foreach ($object->getUsers() as $value_1) { + $values_1[] = $value_1; } $data['users'] = $values_1; } - foreach ($object as $key => $value_3) { + foreach ($object as $key => $value_2) { if (preg_match('/.*/', (string) $key)) { - $data[$key] = $value_3; + $data[$key] = $value_2; } } diff --git a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php b/src/Normalizer/WorkspaceWorkspaceWriteNormalizer.php similarity index 68% rename from src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php rename to src/Normalizer/WorkspaceWorkspaceWriteNormalizer.php index a3d148d9..fe684d93 100644 --- a/src/Normalizer/PipelineRemovePipelineComposerRepositoryCommandInputNormalizer.php +++ b/src/Normalizer/WorkspaceWorkspaceWriteNormalizer.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/* - * This file has been auto generated by Jane, - * - * Do no edit it directly. - */ - namespace Gyroscops\Api\Normalizer; use Gyroscops\Api\Runtime\Normalizer\CheckArray; @@ -20,7 +14,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class PipelineRemovePipelineComposerRepositoryCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface +class WorkspaceWorkspaceWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; @@ -29,17 +23,14 @@ class PipelineRemovePipelineComposerRepositoryCommandInputNormalizer implements public function supportsDenormalization($data, $type, $format = null, array $context = []): bool { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInput'; + return 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceWrite' === $type; } public function supportsNormalization($data, $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineComposerRepositoryCommandInput'; + return \is_object($data) && 'Gyroscops\\Api\\Model\\WorkspaceWorkspaceWrite' === $data::class; } - /** - * @return mixed - */ public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { @@ -48,16 +39,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\PipelineRemovePipelineComposerRepositoryCommandInput(); + $object = new \Gyroscops\Api\Model\WorkspaceWorkspaceWrite(); 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('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; @@ -73,9 +70,8 @@ public function denormalize($data, $class, $format = null, array $context = []) public function normalize($object, $format = null, array $context = []) { $data = []; - if ($object->isInitialized('name') && null !== $object->getName()) { - $data['name'] = $object->getName(); - } + $data['name'] = $object->getName(); + $data['organization'] = $object->getOrganization(); foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { $data[$key] = $value; 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;